Fields
function: Rc<Function>
captured_scope: JSRef
Implementations
sourceimpl Closure
impl Closure
pub fn call(&self, call: CallContext, heap: &mut Heap) -> JSResult<Interpreted>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Closure
impl !Send for Closure
impl !Sync for Closure
impl Unpin for Closure
impl UnwindSafe for Closure
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more