pub struct FunctionInstantiationIndex(pub TableIndex);
Expand description
Index into the FunctionInstantiation
table.
Tuple Fields§
§0: TableIndex
Implementations§
source§impl FunctionInstantiationIndex
impl FunctionInstantiationIndex
Returns an instance of the given Index
.
pub fn new(idx: TableIndex) -> Self
Trait Implementations§
source§impl Arbitrary for FunctionInstantiationIndex
impl Arbitrary for FunctionInstantiationIndex
§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<<u16 as Arbitrary>::Strategy, fn(_: u16) -> FunctionInstantiationIndex>
type Strategy = Map<<u16 as Arbitrary>::Strategy, fn(_: u16) -> FunctionInstantiationIndex>
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 FunctionInstantiationIndex
impl Clone for FunctionInstantiationIndex
source§fn clone(&self) -> FunctionInstantiationIndex
fn clone(&self) -> FunctionInstantiationIndex
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 FunctionInstantiationIndex
impl Debug for FunctionInstantiationIndex
source§impl Default for FunctionInstantiationIndex
impl Default for FunctionInstantiationIndex
source§fn default() -> FunctionInstantiationIndex
fn default() -> FunctionInstantiationIndex
Returns the “default value” for a type. Read more
source§impl Display for FunctionInstantiationIndex
impl Display for FunctionInstantiationIndex
source§impl Hash for FunctionInstantiationIndex
impl Hash for FunctionInstantiationIndex
source§impl Ord for FunctionInstantiationIndex
impl Ord for FunctionInstantiationIndex
source§fn cmp(&self, other: &FunctionInstantiationIndex) -> Ordering
fn cmp(&self, other: &FunctionInstantiationIndex) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<FunctionInstantiationIndex> for FunctionInstantiationIndex
impl PartialEq<FunctionInstantiationIndex> for FunctionInstantiationIndex
source§fn eq(&self, other: &FunctionInstantiationIndex) -> bool
fn eq(&self, other: &FunctionInstantiationIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<FunctionInstantiationIndex> for FunctionInstantiationIndex
impl PartialOrd<FunctionInstantiationIndex> for FunctionInstantiationIndex
source§fn partial_cmp(&self, other: &FunctionInstantiationIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &FunctionInstantiationIndex) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more