pub enum ExportDefaultValue {
Function(FunctionLike),
Class(ClassDeclaration),
Expression(Box<Expr>),
Missing(MissingNode),
}Variants§
Trait Implementations§
Source§impl Clone for ExportDefaultValue
impl Clone for ExportDefaultValue
Source§fn clone(&self) -> ExportDefaultValue
fn clone(&self) -> ExportDefaultValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExportDefaultValue
impl Debug for ExportDefaultValue
impl Eq for ExportDefaultValue
Source§impl PartialEq for ExportDefaultValue
impl PartialEq for ExportDefaultValue
impl StructuralPartialEq for ExportDefaultValue
Auto Trait Implementations§
impl Freeze for ExportDefaultValue
impl RefUnwindSafe for ExportDefaultValue
impl Send for ExportDefaultValue
impl Sync for ExportDefaultValue
impl Unpin for ExportDefaultValue
impl UnsafeUnpin for ExportDefaultValue
impl UnwindSafe for ExportDefaultValue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more