pub struct NonterminalId(/* private fields */);Expand description
A unique nonterminal identifier.
Implementations§
Source§impl NonterminalId
impl NonterminalId
Trait Implementations§
Source§impl Clone for NonterminalId
impl Clone for NonterminalId
Source§fn clone(&self) -> NonterminalId
fn clone(&self) -> NonterminalId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NonterminalId
impl Debug for NonterminalId
Source§impl Display for NonterminalId
impl Display for NonterminalId
Source§impl From<NonterminalId> for Symbol
impl From<NonterminalId> for Symbol
Source§fn from(id: NonterminalId) -> Symbol
fn from(id: NonterminalId) -> Symbol
Converts to this type from the input type.
Source§impl Hash for NonterminalId
impl Hash for NonterminalId
Source§impl Ord for NonterminalId
impl Ord for NonterminalId
Source§fn cmp(&self, other: &NonterminalId) -> Ordering
fn cmp(&self, other: &NonterminalId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NonterminalId
impl PartialEq for NonterminalId
Source§impl PartialOrd for NonterminalId
impl PartialOrd for NonterminalId
impl Copy for NonterminalId
impl Eq for NonterminalId
impl StructuralPartialEq for NonterminalId
Auto Trait Implementations§
impl Freeze for NonterminalId
impl RefUnwindSafe for NonterminalId
impl Send for NonterminalId
impl Sync for NonterminalId
impl Unpin for NonterminalId
impl UnwindSafe for NonterminalId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.