pub struct Symbol<T = NonZero<u32>>where
T: SymbolPrimitive,{ /* private fields */ }Expand description
Our common grammar symbol type.
Implementations§
Trait Implementations§
Source§impl<T> Default for Symbol<T>where
T: SymbolPrimitive,
impl<T> Default for Symbol<T>where
T: SymbolPrimitive,
Source§impl<T> Deserialize for Symbol<T>where
T: SymbolPrimitive,
impl<T> Deserialize for Symbol<T>where
T: SymbolPrimitive,
Source§impl Index<Symbol> for SymbolBitSet
impl Index<Symbol> for SymbolBitSet
Source§impl<T> Ord for Symbol<T>where
T: Ord + SymbolPrimitive,
impl<T> Ord for Symbol<T>where
T: Ord + SymbolPrimitive,
Source§impl<T> PartialOrd for Symbol<T>where
T: PartialOrd + SymbolPrimitive,
impl<T> PartialOrd for Symbol<T>where
T: PartialOrd + SymbolPrimitive,
Source§impl<T> Serialize for Symbol<T>where
T: SymbolPrimitive,
impl<T> Serialize for Symbol<T>where
T: SymbolPrimitive,
impl<T> Copy for Symbol<T>where
T: Copy + SymbolPrimitive,
impl<T> Eq for Symbol<T>where
T: Eq + SymbolPrimitive,
impl<T> StructuralPartialEq for Symbol<T>where
T: SymbolPrimitive,
Auto Trait Implementations§
impl<T> Freeze for Symbol<T>where
T: Freeze,
impl<T> RefUnwindSafe for Symbol<T>where
T: RefUnwindSafe,
impl<T> Send for Symbol<T>where
T: Send,
impl<T> Sync for Symbol<T>where
T: Sync,
impl<T> Unpin for Symbol<T>where
T: Unpin,
impl<T> UnwindSafe for Symbol<T>where
T: UnwindSafe,
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