pub struct FnDef {
pub name: String,
pub is_async: bool,
pub params: Vec<String>,
pub body: Vec<Stmt>,
}Fields§
§name: String§is_async: bool§params: Vec<String>§body: Vec<Stmt>Trait Implementations§
Auto Trait Implementations§
impl Freeze for FnDef
impl RefUnwindSafe for FnDef
impl Send for FnDef
impl Sync for FnDef
impl Unpin for FnDef
impl UnsafeUnpin for FnDef
impl UnwindSafe for FnDef
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