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;
}
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;
}