Enum resast::decl::NamedExportDecl [−][src]
pub enum NamedExportDecl<'a> {
Decl(Decl<'a>),
Specifier(Vec<ExportSpecifier<'a>>, Option<Lit<'a>>),
}
Expand description
An export that has a name
export function thing() {}
export {stuff} from 'place';
Variants
Decl(Decl<'a>)
Tuple Fields
0: Decl<'a>
Specifier(Vec<ExportSpecifier<'a>>, Option<Lit<'a>>)
Trait Implementations
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<'a> RefUnwindSafe for NamedExportDecl<'a>
impl<'a> Send for NamedExportDecl<'a>
impl<'a> Sync for NamedExportDecl<'a>
impl<'a> Unpin for NamedExportDecl<'a>
impl<'a> UnwindSafe for NamedExportDecl<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more