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
fn next(&self) -> Self
Returns the ID immediately subsequent to this one.
fn as_usize(&self) -> usize
Casts the ID to a usize
.