pub struct Parser {
pub vis: Visibility,
pub name: Ident,
pub ty: Type,
pub rules: (Rule, Vec<Rule>),
}
Expand description
Parser ::= Vis Name '->' Type '{' Rule+ '}'
Fields§
§vis: Visibility
§name: Ident
§ty: Type
§rules: (Rule, Vec<Rule>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Parser
impl RefUnwindSafe for Parser
impl !Send for Parser
impl !Sync for Parser
impl Unpin for Parser
impl UnwindSafe for Parser
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