Trait Indexable

Source
pub trait Indexable {
    type Type: PartialOrd + Ord + Send + Sync + Debug;

    // Required method
    fn to_indexes(&self) -> Vec<Index<Self::Type>>;
}
Expand description

Indexable trait

Required Associated Types§

Source

type Type: PartialOrd + Ord + Send + Sync + Debug

The type of the index, it is unknown and it is up to the Manager’s generic type

Required Methods§

Source

fn to_indexes(&self) -> Vec<Index<Self::Type>>

To indexes

Implementors§