Enum ressa::node::NamedExportDecl
source · pub enum NamedExportDecl {
Decl(Declaration),
Specifier(Vec<ExportSpecifier>, Option<Literal>),
}
Expand description
An export that has a name
export function thing() {}
export {stuff} from 'place';
Variants
Decl(Declaration)
Specifier(Vec<ExportSpecifier>, Option<Literal>)
Trait Implementations
sourceimpl Clone for NamedExportDecl
impl Clone for NamedExportDecl
sourcefn clone(&self) -> NamedExportDecl
fn clone(&self) -> NamedExportDecl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NamedExportDecl
impl Debug for NamedExportDecl
sourceimpl PartialEq<NamedExportDecl> for NamedExportDecl
impl PartialEq<NamedExportDecl> for NamedExportDecl
sourcefn eq(&self, other: &NamedExportDecl) -> bool
fn eq(&self, other: &NamedExportDecl) -> bool
impl StructuralPartialEq for NamedExportDecl
Auto Trait Implementations
impl RefUnwindSafe for NamedExportDecl
impl Send for NamedExportDecl
impl Sync for NamedExportDecl
impl Unpin for NamedExportDecl
impl UnwindSafe for NamedExportDecl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more