Trait symbol_map::SymbolId [] [src]

pub trait SymbolId: Copy + Clone + Debug + Default + Eq + Hash + Ord + PartialEq + PartialOrd + Send + Sync {
    fn next(&self) -> Self;
    fn as_usize(&self) -> usize;
}

An atomic ID.

Required Methods

Returns the ID immediately subsequent to this one.

Casts the ID to a usize.

Implementors