Struct canadensis_dsdl_parser::Definition
source · [−]Expand description
The top-level abstract syntax tree of a DSDL file
Fields
statements: Vec<Statement<'i>>
The statements in the file
eof_span: Span<'i>
A span representing the end of the file
Trait Implementations
Auto Trait Implementations
impl<'i> RefUnwindSafe for Definition<'i>
impl<'i> Send for Definition<'i>
impl<'i> Sync for Definition<'i>
impl<'i> Unpin for Definition<'i>
impl<'i> UnwindSafe for Definition<'i>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more