pub struct ParserOperator {
pub precedence: u8,
pub associativity: Associativity,
}Fields§
§precedence: u8§associativity: AssociativityImplementations§
Source§impl ParserOperator
impl ParserOperator
pub fn binary(operator: &Operator) -> Option<&'static ParserOperator>
pub fn unary(operator: &Operator) -> Option<&'static ParserOperator>
Trait Implementations§
Source§impl Debug for ParserOperator
impl Debug for ParserOperator
Source§impl PartialEq for ParserOperator
impl PartialEq for ParserOperator
impl StructuralPartialEq for ParserOperator
Auto Trait Implementations§
impl Freeze for ParserOperator
impl RefUnwindSafe for ParserOperator
impl Send for ParserOperator
impl Sync for ParserOperator
impl Unpin for ParserOperator
impl UnsafeUnpin for ParserOperator
impl UnwindSafe for ParserOperator
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