pub struct Prec(pub u32);Expand description
Numeric precedence for an operator.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
impl Copy for Prec
impl Eq for Prec
Source§impl Ord for Prec
impl Ord for Prec
1.21.0 (const: unstable) · 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 PartialOrd for Prec
impl PartialOrd for Prec
impl StructuralPartialEq for Prec
Auto Trait Implementations§
impl Freeze for Prec
impl RefUnwindSafe for Prec
impl Send for Prec
impl Sync for Prec
impl Unpin for Prec
impl UnsafeUnpin for Prec
impl UnwindSafe for Prec
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