pub struct LexerRule {
pub pattern: LexerPattern,
pub action: Expr,
}
Expand description
LexerRule ::= LexerPattern '=>' Expr
Fields§
§pattern: LexerPattern
§action: Expr
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LexerRule
impl RefUnwindSafe for LexerRule
impl !Send for LexerRule
impl !Sync for LexerRule
impl Unpin for LexerRule
impl UnwindSafe for LexerRule
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