[][src]Struct solana_libra_vm::file_format::StructDefinition

pub struct StructDefinition {
    pub struct_handle: StructHandleIndex,
    pub field_information: StructFieldInformation,
}

A StructDefinition is a type definition. It either indicates it is native or

Fields

struct_handle: StructHandleIndex

The StructHandle for this StructDefinition. This has the name and the resource flag for the type.

field_information: StructFieldInformation

Contains either

  • Information indicating the struct is native and has no accessible fields
  • Information indicating the number of fields and the start FieldDefinitionIndex

Methods

impl StructDefinition[src]

Trait Implementations

impl<'_> BoundsCheck<&'_ CompiledModuleMut> for StructDefinition[src]

impl Clone for StructDefinition[src]

impl Debug for StructDefinition[src]

impl Eq for StructDefinition[src]

impl PartialEq<StructDefinition> for StructDefinition[src]

impl StructuralEq for StructDefinition[src]

impl StructuralPartialEq for StructDefinition[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,