Struct pratt::Precedence
source · [−]pub struct Precedence(pub u32);
Tuple Fields
0: u32
Trait Implementations
sourceimpl Clone for Precedence
impl Clone for Precedence
sourcefn clone(&self) -> Precedence
fn clone(&self) -> Precedence
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl PartialEq<Precedence> for Precedence
impl PartialEq<Precedence> for Precedence
sourcefn eq(&self, other: &Precedence) -> bool
fn eq(&self, other: &Precedence) -> bool
sourceimpl PartialOrd<Precedence> for Precedence
impl PartialOrd<Precedence> for Precedence
sourcefn partial_cmp(&self, other: &Precedence) -> Option<Ordering>
fn partial_cmp(&self, other: &Precedence) -> Option<Ordering>
1.0.0 · sourcefn 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 Precedence
impl Eq for Precedence
impl StructuralEq for Precedence
impl StructuralPartialEq for Precedence
Auto Trait Implementations
impl RefUnwindSafe for Precedence
impl Send for Precedence
impl Sync for Precedence
impl Unpin for Precedence
impl UnwindSafe for Precedence
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more