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