pub struct FunctionGenerationContext {
pub function_handle_index: FunctionHandleIndex,
pub starting_call_height: usize,
pub locals_len: usize,
pub bytecode_len: u64,
}
Expand description
Context containing information about a function
Fields§
§function_handle_index: FunctionHandleIndex
§starting_call_height: usize
§locals_len: usize
§bytecode_len: u64
Implementations§
Trait Implementations§
source§impl Clone for FunctionGenerationContext
impl Clone for FunctionGenerationContext
source§fn clone(&self) -> FunctionGenerationContext
fn clone(&self) -> FunctionGenerationContext
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 FunctionGenerationContext
impl Debug for FunctionGenerationContext
source§impl PartialEq<FunctionGenerationContext> for FunctionGenerationContext
impl PartialEq<FunctionGenerationContext> for FunctionGenerationContext
source§fn eq(&self, other: &FunctionGenerationContext) -> bool
fn eq(&self, other: &FunctionGenerationContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FunctionGenerationContext
impl Eq for FunctionGenerationContext
impl StructuralEq for FunctionGenerationContext
impl StructuralPartialEq for FunctionGenerationContext
Auto Trait Implementations§
impl RefUnwindSafe for FunctionGenerationContext
impl Send for FunctionGenerationContext
impl Sync for FunctionGenerationContext
impl Unpin for FunctionGenerationContext
impl UnwindSafe for FunctionGenerationContext
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.