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