pub enum Statement<'a> {
Import(ImportStatement<'a>),
Type(TypeStatement<'a>),
Let(LetStatement<'a>),
Export(ExportStatement<'a>),
}
Expand description
Represents a statement in the AST.
Variants§
Import(ImportStatement<'a>)
An import statement.
Type(TypeStatement<'a>)
A type statement.
Let(LetStatement<'a>)
A let statement.
Export(ExportStatement<'a>)
An export statement.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Statement<'a>
impl<'a> RefUnwindSafe for Statement<'a>
impl<'a> Send for Statement<'a>
impl<'a> Sync for Statement<'a>
impl<'a> Unpin for Statement<'a>
impl<'a> UnwindSafe for Statement<'a>
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