Struct swc_ecma_ast::FnExpr
source · [−]Expand description
Function expression.
Fields
ident: Option<Ident>
function: Box<Function>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for FnExpr
impl<'de> Deserialize<'de> for FnExpr
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 FnExpr
impl EqIgnoreSpan for FnExpr
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<FnExpr> for DefaultDecl
impl From<FnExpr> for DefaultDecl
impl Eq for FnExpr
impl StructuralEq for FnExpr
impl StructuralPartialEq for FnExpr
Auto Trait Implementations
impl RefUnwindSafe for FnExpr
impl Send for FnExpr
impl Sync for FnExpr
impl Unpin for FnExpr
impl UnwindSafe for FnExpr
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