pub struct FnExpr {
pub span: Span,
pub id: Option<Ident>,
pub params: Vec<Pat>,
pub body: Option<BlockStmt>,
pub generator: bool,
pub async_: bool,
}Fields§
§span: Span§id: Option<Ident>§params: Vec<Pat>§body: Option<BlockStmt>§generator: bool§async_: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for FnExpr
impl RefUnwindSafe for FnExpr
impl Send for FnExpr
impl Sync for FnExpr
impl Unpin for FnExpr
impl UnsafeUnpin for FnExpr
impl UnwindSafe for FnExpr
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