pub struct ClosureEnv {
pub cells: Vec<Gc<Cell>>,
}Expand description
The reference cells a closure captured from enclosing scopes.
Fields§
§cells: Vec<Gc<Cell>>Indexed the way the bytecode’s closure-variable table indexes them.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ClosureEnv
impl !Send for ClosureEnv
impl !Sync for ClosureEnv
impl !UnwindSafe for ClosureEnv
impl Forget for ClosureEnv
impl Freeze for ClosureEnv
impl Move for ClosureEnv
impl Unpin for ClosureEnv
impl UnsafeUnpin for ClosureEnv
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