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