pub struct FunctionImpl {
pub param_slots: Vec<LocalSlot>,
pub capture_copies: Vec<(LocalSlot, LocalSlot)>,
pub body_stmts: Vec<Stmt>,
pub body_expr: Expr,
pub body_expr_line: u32,
}Fields§
§param_slots: Vec<LocalSlot>§capture_copies: Vec<(LocalSlot, LocalSlot)>§body_stmts: Vec<Stmt>§body_expr: Expr§body_expr_line: u32Trait Implementations§
Source§impl Clone for FunctionImpl
impl Clone for FunctionImpl
Source§fn clone(&self) -> FunctionImpl
fn clone(&self) -> FunctionImpl
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 moreAuto Trait Implementations§
impl Freeze for FunctionImpl
impl RefUnwindSafe for FunctionImpl
impl Send for FunctionImpl
impl Sync for FunctionImpl
impl Unpin for FunctionImpl
impl UnsafeUnpin for FunctionImpl
impl UnwindSafe for FunctionImpl
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