pub struct FunctionInstantiation {
pub handle: FunctionHandleIndex,
pub type_parameters: SignatureIndex,
}
Expand description
A complete or partial instantiation of a function
Fields§
§handle: FunctionHandleIndex
§type_parameters: SignatureIndex
Trait Implementations§
source§impl Arbitrary for FunctionInstantiation
impl Arbitrary for FunctionInstantiation
§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = Map<(<FunctionHandleIndex as Arbitrary>::Strategy, <SignatureIndex as Arbitrary>::Strategy), fn(_: (FunctionHandleIndex, SignatureIndex)) -> FunctionInstantiation>
type Strategy = Map<(<FunctionHandleIndex as Arbitrary>::Strategy, <SignatureIndex as Arbitrary>::Strategy), fn(_: (FunctionHandleIndex, SignatureIndex)) -> FunctionInstantiation>
The type of
Strategy
used to generate values of type Self
.source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
source§impl Clone for FunctionInstantiation
impl Clone for FunctionInstantiation
source§fn clone(&self) -> FunctionInstantiation
fn clone(&self) -> FunctionInstantiation
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 FunctionInstantiation
impl Debug for FunctionInstantiation
source§impl Hash for FunctionInstantiation
impl Hash for FunctionInstantiation
source§impl PartialEq<FunctionInstantiation> for FunctionInstantiation
impl PartialEq<FunctionInstantiation> for FunctionInstantiation
source§fn eq(&self, other: &FunctionInstantiation) -> bool
fn eq(&self, other: &FunctionInstantiation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.