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