[][src]Struct wasmer_interface_types::types::RecordType

pub struct RecordType {
    pub fields: Vec1<InterfaceType>,
}

Represents a record type.

Fields

fields: Vec1<InterfaceType>

Types representing the fields. A record must have at least one field, hence the Vec1.

Trait Implementations

impl Clone for RecordType[src]

impl Debug for RecordType[src]

impl<'_> From<&'_ Vec<InterfaceValue>> for RecordType[src]

impl<'_> Parse<'_> for RecordType[src]

impl PartialEq<RecordType> for RecordType[src]

impl StructuralPartialEq for RecordType[src]

impl<W> ToBytes<W> for RecordType where
    W: Write
[src]

Encode a RecordType into bytes.

impl<'_> ToString for &'_ RecordType[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> 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.