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