Struct string_interner::symbol::SymbolU16
source · pub struct SymbolU16 { /* private fields */ }
Expand description
Symbol that is 16-bit in size.
Is space-optimized for used in Option
.
Trait Implementations§
source§impl Ord for SymbolU16
impl Ord for SymbolU16
source§impl PartialEq for SymbolU16
impl PartialEq for SymbolU16
source§impl PartialOrd for SymbolU16
impl PartialOrd for SymbolU16
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 SymbolU16
impl Eq for SymbolU16
impl StructuralPartialEq for SymbolU16
Auto Trait Implementations§
impl Freeze for SymbolU16
impl RefUnwindSafe for SymbolU16
impl Send for SymbolU16
impl Sync for SymbolU16
impl Unpin for SymbolU16
impl UnwindSafe for SymbolU16
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