Trait brassfibre::prelude::IndexerIndex [] [src]

pub trait IndexerIndex: Slicer {
    type Key;
    fn contains(&self, label: &Self::Key) -> bool;
    fn push(&mut self, label: Self::Key);
    fn get_loc(&self, label: &Self::Key) -> usize;
    fn get_locs(&self, labels: &[Self::Key]) -> Vec<usize>;
    fn init_state(&self);
}

Indexing methods for Indexer

Associated Types

Required Methods

Implementors