[][src]Struct solana_libra_vm::views::StructDefinitionView

pub struct StructDefinitionView<'a, T> { /* fields omitted */ }

Methods

impl<'a, T: ModuleAccess> StructDefinitionView<'a, T>[src]

pub fn new(module: &'a T, struct_def: &'a StructDefinition) -> Self[src]

pub fn is_resource(&self) -> bool[src]

pub fn fields(
    &self
) -> impl DoubleEndedIterator<Item = FieldDefinitionView<'a, T>> + Send
[src]

pub fn name(&self) -> &'a str[src]

Trait Implementations

impl<'a, T: ModuleAccess> ViewInternals for StructDefinitionView<'a, T>[src]

type ModuleType = &'a T

type Inner = &'a StructDefinition

Auto Trait Implementations

impl<'a, T> Sync for StructDefinitionView<'a, T> where
    T: Sync

impl<'a, T> Send for StructDefinitionView<'a, T> where
    T: Sync

impl<'a, T> Unpin for StructDefinitionView<'a, T>

impl<'a, T> RefUnwindSafe for StructDefinitionView<'a, T> where
    T: RefUnwindSafe

impl<'a, T> UnwindSafe for StructDefinitionView<'a, T> where
    T: RefUnwindSafe

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

impl<T> Erased for T

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