pub type BTreeTransTable<KeyType> = BTreeMap<KeyType, GeneralSAMNodeID>;

Aliased Type§

struct BTreeTransTable<KeyType> { /* private fields */ }

Trait Implementations§

source§

impl<KeyType: Ord + Clone> ConstructiveTransitionTable for BTreeTransTable<KeyType>

source§

fn insert(&mut self, key: KeyType, trans: GeneralSAMNodeID)

source§

fn from_kv_iter<'b, Iter: Iterator<Item = (Self::KeyType, &'b GeneralSAMNodeID)>>( iter: Iter ) -> Selfwhere Self::KeyType: 'b,

source§

impl<KeyType: Clone + Ord> TransitionTable for BTreeTransTable<KeyType>

§

type KeyType = KeyType

§

type IterType<'a> = WithKeyDerefedIter<'a, KeyType, Iter<'a, KeyType, usize>> where Self: 'a, Self::KeyType: 'a

source§

fn get(&self, key: &KeyType) -> Option<&GeneralSAMNodeID>

source§

fn get_mut(&mut self, key: &KeyType) -> Option<&mut GeneralSAMNodeID>

source§

fn iter(&self) -> Self::IterType<'_>

source§

fn from_kv_iter<'b, Iter: Iterator<Item = (KeyType, &'b GeneralSAMNodeID)>>( iter: Iter ) -> Selfwhere Self::KeyType: 'b,

source§

fn contains_key(&self, key: &Self::KeyType) -> bool

source§

fn transitions(&self) -> TransitionIter<'_, Self::KeyType, Self::IterType<'_>>