pub struct Grammar {
pub name: String,
pub name_span: Span,
pub items: Vec<GrammarItem>,
pub span: Span,
}Expand description
Top-level compiled grammar unit.
Fields§
§name: String§name_span: Span§items: Vec<GrammarItem>§span: SpanTrait Implementations§
impl Eq for Grammar
impl StructuralPartialEq for Grammar
Auto Trait Implementations§
impl Freeze for Grammar
impl RefUnwindSafe for Grammar
impl Send for Grammar
impl Sync for Grammar
impl Unpin for Grammar
impl UnsafeUnpin for Grammar
impl UnwindSafe for Grammar
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