Struct dyon::ClosureEnvironment
source · pub struct ClosureEnvironment {
pub module: Arc<Module>,
pub relative: usize,
}
Expand description
Stores closure environment.
Fields§
§module: Arc<Module>
The module that the closure was created.
relative: usize
Relative index, used to resolve function indices.
Trait Implementations§
source§impl Clone for ClosureEnvironment
impl Clone for ClosureEnvironment
source§fn clone(&self) -> ClosureEnvironment
fn clone(&self) -> ClosureEnvironment
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ClosureEnvironment
impl Send for ClosureEnvironment
impl Sync for ClosureEnvironment
impl Unpin for ClosureEnvironment
impl !UnwindSafe for ClosureEnvironment
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