pub struct PrecLevel {
pub value: u32,
pub left_assoc: bool,
pub right_assoc: bool,
}Expand description
A notation precedence level with associativity.
Fields§
§value: u32The precedence value (higher = tighter binding)
left_assoc: boolWhether this is left-associative
right_assoc: boolWhether this is right-associative
Implementations§
Trait Implementations§
impl Eq for PrecLevel
impl StructuralPartialEq for PrecLevel
Auto Trait Implementations§
impl Freeze for PrecLevel
impl RefUnwindSafe for PrecLevel
impl Send for PrecLevel
impl Sync for PrecLevel
impl Unpin for PrecLevel
impl UnsafeUnpin for PrecLevel
impl UnwindSafe for PrecLevel
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