pub struct FuncVal {
pub def_id: usize,
pub env: Option<Env>,
pub this: Option<Value>,
pub is_arrow: bool,
}Expand description
A live closure value.
Fields§
§def_id: usize§env: Option<Env>Captured lexical environment (enclosing scope chain), for free vars.
this: Option<Value>this captured at definition time (arrow functions).
is_arrow: boolTrait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for FuncVal
impl !Send for FuncVal
impl !Sync for FuncVal
impl !UnwindSafe for FuncVal
impl Freeze for FuncVal
impl Unpin for FuncVal
impl UnsafeUnpin for FuncVal
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