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