pub struct InfixOp {
pub pattern: Box<Combinator>,
pub precedence: u8,
pub assoc: Assoc,
pub mapping: String,
}Expand description
Infix operator definition
Fields§
§pattern: Box<Combinator>The operator pattern (e.g., Literal(“+”), Literal(“===”))
precedence: u8§assoc: Assoc§mapping: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for InfixOp
impl RefUnwindSafe for InfixOp
impl Send for InfixOp
impl Sync for InfixOp
impl Unpin for InfixOp
impl UnsafeUnpin for InfixOp
impl UnwindSafe for InfixOp
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