pub struct Syntax<'src> {
pub span: Span,
pub rules: Vec<SyntaxRule<'src>>,
}
Fields§
§span: Span
§rules: Vec<SyntaxRule<'src>>
Trait Implementations§
impl<'src> StructuralPartialEq for Syntax<'src>
Auto Trait Implementations§
impl<'src> Freeze for Syntax<'src>
impl<'src> RefUnwindSafe for Syntax<'src>
impl<'src> Send for Syntax<'src>
impl<'src> Sync for Syntax<'src>
impl<'src> Unpin for Syntax<'src>
impl<'src> UnwindSafe for Syntax<'src>
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