Struct move_binary_format::file_format::FieldInstantiation
source · [−]pub struct FieldInstantiation {
pub handle: FieldHandleIndex,
pub type_parameters: SignatureIndex,
}Expand description
A complete or partial instantiation of a field (or the type of it).
A FieldInstantiation points to a generic FieldHandle and the instantiation
of the owner type.
E.g. for S<u8, bool>.f where f is a field of any type, instantiation
would be [u8, boo]
Fields
handle: FieldHandleIndextype_parameters: SignatureIndexTrait Implementations
sourceimpl Clone for FieldInstantiation
impl Clone for FieldInstantiation
sourcefn clone(&self) -> FieldInstantiation
fn clone(&self) -> FieldInstantiation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for FieldInstantiation
impl Debug for FieldInstantiation
sourceimpl Hash for FieldInstantiation
impl Hash for FieldInstantiation
sourceimpl PartialEq<FieldInstantiation> for FieldInstantiation
impl PartialEq<FieldInstantiation> for FieldInstantiation
sourcefn eq(&self, other: &FieldInstantiation) -> bool
fn eq(&self, other: &FieldInstantiation) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl Eq for FieldInstantiation
impl StructuralEq for FieldInstantiation
impl StructuralPartialEq for FieldInstantiation
Auto Trait Implementations
impl RefUnwindSafe for FieldInstantiation
impl Send for FieldInstantiation
impl Sync for FieldInstantiation
impl Unpin for FieldInstantiation
impl UnwindSafe for FieldInstantiation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more