pub struct ExportStatement<'a> {
pub docs: Vec<DocComment<'a>>,
pub expr: Expr<'a>,
pub options: ExportOptions<'a>,
}
Expand description
Represents an export statement in the AST.
Fields§
§docs: Vec<DocComment<'a>>
The doc comments for the statement.
expr: Expr<'a>
The expression that is being exported.
options: ExportOptions<'a>
The options for the export statement.
Trait Implementations§
Source§impl<'a> Clone for ExportStatement<'a>
impl<'a> Clone for ExportStatement<'a>
Source§fn clone(&self) -> ExportStatement<'a>
fn clone(&self) -> ExportStatement<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for ExportStatement<'a>
impl<'a> Debug for ExportStatement<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExportStatement<'a>
impl<'a> RefUnwindSafe for ExportStatement<'a>
impl<'a> Send for ExportStatement<'a>
impl<'a> Sync for ExportStatement<'a>
impl<'a> Unpin for ExportStatement<'a>
impl<'a> UnwindSafe for ExportStatement<'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