Struct move_model::symbol::Symbol
source · pub struct Symbol(_);
Expand description
Representation of a symbol.
Implementations§
source§impl Symbol
impl Symbol
pub fn display<'a>(&'a self, pool: &'a SymbolPool) -> SymbolDisplay<'a>
Trait Implementations§
source§impl Ord for Symbol
impl Ord for Symbol
source§impl PartialEq<Symbol> for Symbol
impl PartialEq<Symbol> for Symbol
source§impl PartialOrd<Symbol> for Symbol
impl PartialOrd<Symbol> for Symbol
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Symbol
impl Eq for Symbol
impl StructuralEq for Symbol
impl StructuralPartialEq for Symbol
Auto Trait Implementations§
impl RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbol
impl Unpin for Symbol
impl UnwindSafe for Symbol
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.