pub trait Selectable {
    type Position: Copy;
    type Index;

    fn add(
        &mut self,
        pos: Self::Position,
        from: Option<Self::Index>
    ) -> Self::Index; fn get(&self, pos: Self::Position) -> Option<Self::Index>; fn connect(&mut self, _index: Self::Index, _selected: &[Self::Index]) { ... } fn special(&mut self, _index: Self::Index, _selected: &[Self::Index]) { ... } }

Required Associated Types

Required Methods

Provided Methods

Implementors