Struct cranelift_isle::sema::Sym
source · pub struct Sym(pub usize);
Expand description
The id of an interned symbol.
Tuple Fields§
§0: usize
Implementations§
Trait Implementations§
source§impl Ord for Sym
impl Ord for Sym
source§impl PartialOrd for Sym
impl PartialOrd for Sym
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 Sym
impl Eq for Sym
impl StructuralPartialEq for Sym
Auto Trait Implementations§
impl Freeze for Sym
impl RefUnwindSafe for Sym
impl Send for Sym
impl Sync for Sym
impl Unpin for Sym
impl UnwindSafe for Sym
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more