pub struct ExportStmt {
pub item: ExportItem,
pub source_decl: Option<VariableDecl>,
}Fields§
§item: ExportItem§source_decl: Option<VariableDecl>For pub let/const/var, the original variable declaration so the compiler
can compile the initialization (ExportItem::Named only preserves the name).
Trait Implementations§
Source§impl Clone for ExportStmt
impl Clone for ExportStmt
Source§fn clone(&self) -> ExportStmt
fn clone(&self) -> ExportStmt
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 Debug for ExportStmt
impl Debug for ExportStmt
Source§impl<'de> Deserialize<'de> for ExportStmt
impl<'de> Deserialize<'de> for ExportStmt
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExportStmt
impl RefUnwindSafe for ExportStmt
impl Send for ExportStmt
impl Sync for ExportStmt
impl Unpin for ExportStmt
impl UnsafeUnpin for ExportStmt
impl UnwindSafe for ExportStmt
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