Struct move_binary_format::file_format::FieldHandle
source · pub struct FieldHandle {
pub owner: StructDefinitionIndex,
pub field: MemberCount,
}
Expand description
A field access info (owner type and offset)
Fields§
§owner: StructDefinitionIndex
§field: MemberCount
Trait Implementations§
source§impl Arbitrary for FieldHandle
impl Arbitrary for FieldHandle
§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<(<StructDefinitionIndex as Arbitrary>::Strategy, <u16 as Arbitrary>::Strategy), fn(_: (StructDefinitionIndex, u16)) -> FieldHandle>
type Strategy = Map<(<StructDefinitionIndex as Arbitrary>::Strategy, <u16 as Arbitrary>::Strategy), fn(_: (StructDefinitionIndex, u16)) -> FieldHandle>
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 FieldHandle
impl Clone for FieldHandle
source§fn clone(&self) -> FieldHandle
fn clone(&self) -> FieldHandle
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 FieldHandle
impl Debug for FieldHandle
source§impl Hash for FieldHandle
impl Hash for FieldHandle
source§impl PartialEq<FieldHandle> for FieldHandle
impl PartialEq<FieldHandle> for FieldHandle
source§fn eq(&self, other: &FieldHandle) -> bool
fn eq(&self, other: &FieldHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.