Enum resast::decl::DefaultExportDecl
source · [−]Expand description
A default export
export default class Thing {}
Variants
Decl(Decl<'a>)
Expr(Expr<'a>)
Trait Implementations
sourceimpl<'a> Clone for DefaultExportDecl<'a>
impl<'a> Clone for DefaultExportDecl<'a>
sourcefn clone(&self) -> DefaultExportDecl<'a>
fn clone(&self) -> DefaultExportDecl<'a>
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 more
sourceimpl<'a> Debug for DefaultExportDecl<'a>
impl<'a> Debug for DefaultExportDecl<'a>
sourceimpl<'a> From<DefaultExportDeclValue<'a>> for DefaultExportDecl<'a>
impl<'a> From<DefaultExportDeclValue<'a>> for DefaultExportDecl<'a>
sourcefn from(other: DefaultExportDeclValue<'a>) -> Self
fn from(other: DefaultExportDeclValue<'a>) -> Self
Converts to this type from the input type.
sourceimpl<'a> PartialEq<DefaultExportDecl<'a>> for DefaultExportDecl<'a>
impl<'a> PartialEq<DefaultExportDecl<'a>> for DefaultExportDecl<'a>
sourcefn eq(&self, other: &DefaultExportDecl<'a>) -> bool
fn eq(&self, other: &DefaultExportDecl<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl<'a> StructuralPartialEq for DefaultExportDecl<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for DefaultExportDecl<'a>
impl<'a> Send for DefaultExportDecl<'a>
impl<'a> Sync for DefaultExportDecl<'a>
impl<'a> Unpin for DefaultExportDecl<'a>
impl<'a> UnwindSafe for DefaultExportDecl<'a>
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