[][src]Struct swc_ecma_ast::FnExpr

pub struct FnExpr {
    pub ident: Option<Ident>,
    pub function: Function,
}

Function expression.

Fields

ident: Option<Ident>function: Function

Trait Implementations

impl AstNode for FnExpr[src]

impl Clone for FnExpr[src]

impl Debug for FnExpr[src]

impl<'de> Deserialize<'de> for FnExpr[src]

impl From<FnExpr> for Expr[src]

impl From<FnExpr> for DefaultDecl[src]

impl PartialEq<FnExpr> for FnExpr[src]

impl Serialize for FnExpr[src]

impl Spanned for FnExpr[src]

impl StructuralPartialEq for FnExpr[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.