Type Alias general_sam::table::HashTransTable

source ·
pub type HashTransTable<KeyType> = HashMap<KeyType, GeneralSAMNodeID>;

Aliased Type§

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

Trait Implementations§

source§

impl<KeyType: Hash + Eq + Clone> ConstructiveTransitionTable for HashTransTable<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 ) -> Self
where Self::KeyType: 'b,

source§

impl<KeyType: Hash + Eq + Clone> TransitionTable for HashTransTable<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 ) -> Self
where Self::KeyType: 'b,

source§

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

source§

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