[][src]Struct wasmer_interface_types_fl::ast::Interfaces

pub struct Interfaces<'input> {
    pub types: Vec<Type>,
    pub imports: Vec<Import<'input>>,
    pub adapters: Vec<Adapter>,
    pub exports: Vec<Export<'input>>,
    pub implementations: Vec<Implementation>,
}

Represents a set of interfaces, i.e. it entirely describes a WIT definition.

Fields

types: Vec<Type>

All the types.

imports: Vec<Import<'input>>

All the imported functions.

adapters: Vec<Adapter>

All the adapters.

exports: Vec<Export<'input>>

All the exported functions.

implementations: Vec<Implementation>

All the implementations.

Trait Implementations

impl<'input> Clone for Interfaces<'input>[src]

impl<'input> Debug for Interfaces<'input>[src]

impl<'input> Default for Interfaces<'input>[src]

impl<'input> Eq for Interfaces<'input>[src]

impl<'input> Hash for Interfaces<'input>[src]

impl<'a> Parse<'a> for Interfaces<'a>[src]

impl<'input> PartialEq<Interfaces<'input>> for Interfaces<'input>[src]

impl<'input> StructuralEq for Interfaces<'input>[src]

impl<'input> StructuralPartialEq for Interfaces<'input>[src]

impl<W> ToBytes<W> for Interfaces<'_> where
    W: Write
[src]

Encode an Interfaces into bytes.

Decoder is decoders::binary::parse.

impl<'input> ToString for &Interfaces<'input>[src]

Encode an Interfaces into a string.

Auto Trait Implementations

impl<'input> !RefUnwindSafe for Interfaces<'input>[src]

impl<'input> !Send for Interfaces<'input>[src]

impl<'input> !Sync for Interfaces<'input>[src]

impl<'input> Unpin for Interfaces<'input>[src]

impl<'input> UnwindSafe for Interfaces<'input>[src]

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.