Struct swc_ecma_ast::ExportNamedSpecifier
source · [−]pub struct ExportNamedSpecifier {
pub span: Span,
pub orig: ModuleExportName,
pub exported: Option<ModuleExportName>,
pub is_type_only: bool,
}
Fields
span: Span
orig: ModuleExportName
foo
in export { foo as bar }
exported: Option<ModuleExportName>
Some(bar)
in export { foo as bar }
is_type_only: bool
type
in export { type foo as bar }
Trait Implementations
sourceimpl Clone for ExportNamedSpecifier
impl Clone for ExportNamedSpecifier
sourcefn clone(&self) -> ExportNamedSpecifier
fn clone(&self) -> ExportNamedSpecifier
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 ExportNamedSpecifier
impl Debug for ExportNamedSpecifier
sourceimpl<'de> Deserialize<'de> for ExportNamedSpecifier
impl<'de> Deserialize<'de> for ExportNamedSpecifier
sourcefn 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
sourceimpl EqIgnoreSpan for ExportNamedSpecifier
impl EqIgnoreSpan for ExportNamedSpecifier
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<ExportNamedSpecifier> for ExportSpecifier
impl From<ExportNamedSpecifier> for ExportSpecifier
sourcefn from(v: ExportNamedSpecifier) -> Self
fn from(v: ExportNamedSpecifier) -> Self
Converts to this type from the input type.
sourceimpl Hash for ExportNamedSpecifier
impl Hash for ExportNamedSpecifier
sourceimpl PartialEq<ExportNamedSpecifier> for ExportNamedSpecifier
impl PartialEq<ExportNamedSpecifier> for ExportNamedSpecifier
sourcefn eq(&self, other: &ExportNamedSpecifier) -> bool
fn eq(&self, other: &ExportNamedSpecifier) -> bool
sourceimpl Serialize for ExportNamedSpecifier
impl Serialize for ExportNamedSpecifier
sourceimpl Spanned for ExportNamedSpecifier
impl Spanned for ExportNamedSpecifier
impl Eq for ExportNamedSpecifier
impl StructuralEq for ExportNamedSpecifier
impl StructuralPartialEq for ExportNamedSpecifier
Auto Trait Implementations
impl RefUnwindSafe for ExportNamedSpecifier
impl Send for ExportNamedSpecifier
impl Sync for ExportNamedSpecifier
impl Unpin for ExportNamedSpecifier
impl UnwindSafe for ExportNamedSpecifier
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