Struct ielr::input::PrecedenceFamilyToken
source · pub struct PrecedenceFamilyToken(_);
Expand description
Token that indentifies a family of precedence annotations.
Used in Production::set_left_precedence and Production::set_right_precedence.
Trait Implementations§
source§impl Clone for PrecedenceFamilyToken
impl Clone for PrecedenceFamilyToken
source§fn clone(&self) -> PrecedenceFamilyToken
fn clone(&self) -> PrecedenceFamilyToken
Returns a copy 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 PrecedenceFamilyToken
impl Debug for PrecedenceFamilyToken
source§impl Hash for PrecedenceFamilyToken
impl Hash for PrecedenceFamilyToken
source§impl Ord for PrecedenceFamilyToken
impl Ord for PrecedenceFamilyToken
source§fn cmp(&self, other: &PrecedenceFamilyToken) -> Ordering
fn cmp(&self, other: &PrecedenceFamilyToken) -> 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<PrecedenceFamilyToken> for PrecedenceFamilyToken
impl PartialEq<PrecedenceFamilyToken> for PrecedenceFamilyToken
source§fn eq(&self, other: &PrecedenceFamilyToken) -> bool
fn eq(&self, other: &PrecedenceFamilyToken) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PrecedenceFamilyToken> for PrecedenceFamilyToken
impl PartialOrd<PrecedenceFamilyToken> for PrecedenceFamilyToken
source§fn partial_cmp(&self, other: &PrecedenceFamilyToken) -> Option<Ordering>
fn partial_cmp(&self, other: &PrecedenceFamilyToken) -> Option<Ordering>
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 PrecedenceFamilyToken
impl Eq for PrecedenceFamilyToken
impl StructuralEq for PrecedenceFamilyToken
impl StructuralPartialEq for PrecedenceFamilyToken
Auto Trait Implementations§
impl RefUnwindSafe for PrecedenceFamilyToken
impl Send for PrecedenceFamilyToken
impl Sync for PrecedenceFamilyToken
impl Unpin for PrecedenceFamilyToken
impl UnwindSafe for PrecedenceFamilyToken
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