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