pub struct Closure {
pub func: Rc<CompiledFunction>,
pub free: Vec<Rc<Object>>,
}Fields§
§func: Rc<CompiledFunction>§free: Vec<Rc<Object>>Trait Implementations§
impl Eq for Closure
impl StructuralPartialEq for Closure
Auto Trait Implementations§
impl !RefUnwindSafe for Closure
impl !Send for Closure
impl !Sync for Closure
impl !UnwindSafe for Closure
impl Freeze for Closure
impl Unpin for Closure
impl UnsafeUnpin for Closure
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