Struct docs::object::ClosureFunction
source · pub struct ClosureFunction {
pub fun: CompiledFunction,
pub free: Vec<Object>,
}Fields§
§fun: CompiledFunction§free: Vec<Object>Trait Implementations§
source§impl Clone for ClosureFunction
impl Clone for ClosureFunction
source§fn clone(&self) -> ClosureFunction
fn clone(&self) -> ClosureFunction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ClosureFunction
impl Debug for ClosureFunction
source§impl ObjectTrait for ClosureFunction
impl ObjectTrait for ClosureFunction
source§impl PartialEq for ClosureFunction
impl PartialEq for ClosureFunction
source§fn eq(&self, other: &ClosureFunction) -> bool
fn eq(&self, other: &ClosureFunction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ClosureFunction
Auto Trait Implementations§
impl Freeze for ClosureFunction
impl RefUnwindSafe for ClosureFunction
impl !Send for ClosureFunction
impl !Sync for ClosureFunction
impl Unpin for ClosureFunction
impl UnwindSafe for ClosureFunction
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