Struct swc_ecma_ast::ImportDefaultSpecifier
source · [−]Expand description
e.g. import foo from 'mod.js'
Fields
span: Span
local: Ident
Trait Implementations
sourceimpl AstNode for ImportDefaultSpecifier
impl AstNode for ImportDefaultSpecifier
sourceimpl Clone for ImportDefaultSpecifier
impl Clone for ImportDefaultSpecifier
sourcefn clone(&self) -> ImportDefaultSpecifier
fn clone(&self) -> ImportDefaultSpecifier
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 ImportDefaultSpecifier
impl Debug for ImportDefaultSpecifier
sourceimpl<'de> Deserialize<'de> for ImportDefaultSpecifier
impl<'de> Deserialize<'de> for ImportDefaultSpecifier
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 ImportDefaultSpecifier
impl EqIgnoreSpan for ImportDefaultSpecifier
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<ImportDefaultSpecifier> for ImportSpecifier
impl From<ImportDefaultSpecifier> for ImportSpecifier
sourcefn from(v: ImportDefaultSpecifier) -> Self
fn from(v: ImportDefaultSpecifier) -> Self
Converts to this type from the input type.
sourceimpl Hash for ImportDefaultSpecifier
impl Hash for ImportDefaultSpecifier
sourceimpl PartialEq<ImportDefaultSpecifier> for ImportDefaultSpecifier
impl PartialEq<ImportDefaultSpecifier> for ImportDefaultSpecifier
sourcefn eq(&self, other: &ImportDefaultSpecifier) -> bool
fn eq(&self, other: &ImportDefaultSpecifier) -> bool
sourceimpl Serialize for ImportDefaultSpecifier
impl Serialize for ImportDefaultSpecifier
sourceimpl Spanned for ImportDefaultSpecifier
impl Spanned for ImportDefaultSpecifier
impl Eq for ImportDefaultSpecifier
impl StructuralEq for ImportDefaultSpecifier
impl StructuralPartialEq for ImportDefaultSpecifier
Auto Trait Implementations
impl RefUnwindSafe for ImportDefaultSpecifier
impl Send for ImportDefaultSpecifier
impl Sync for ImportDefaultSpecifier
impl Unpin for ImportDefaultSpecifier
impl UnwindSafe for ImportDefaultSpecifier
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