Trait lis::LisMapProj

source ·
pub trait LisMapProj<T: Ord + Clone> {
    type Mapped: Ord + Clone;

    // Required methods
    fn map(&self, index: usize, elt: &T) -> Self::Mapped;
    fn proj(&self, elt: &Self::Mapped) -> usize;
}

Required Associated Types§

Required Methods§

source

fn map(&self, index: usize, elt: &T) -> Self::Mapped

source

fn proj(&self, elt: &Self::Mapped) -> usize

Implementors§