Struct swc_ecma_ast::NamedExport [−][src]
pub struct NamedExport { pub span: Span, pub specifiers: Vec<ExportSpecifier>, pub src: Option<Str>, pub type_only: bool, pub asserts: Option<ObjectLit>, }
Expand description
export { foo } from 'mod'
export { foo as bar } from 'mod'
Fields
span: Span
specifiers: Vec<ExportSpecifier>
src: Option<Str>
type_only: bool
asserts: Option<ObjectLit>
Trait Implementations
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
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NamedExport
impl Send for NamedExport
impl Sync for NamedExport
impl Unpin for NamedExport
impl UnwindSafe for NamedExport
Blanket Implementations
Mutably borrows from an owned value. Read more