Struct wasmer_interface_types_fl::ast::Interfaces [−][src]
pub struct Interfaces<'input> {
pub version: Version,
pub types: Vec<Type>,
pub imports: Vec<Import<'input>>,
pub adapters: Vec<Adapter>,
pub exports: Vec<Export<'input>>,
pub implementations: Vec<Implementation>,
}
Expand description
Represents a set of interfaces, i.e. it entirely describes a WIT definition.
Fields
version: Version
Version of IT.
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.
Implementations
Creates a new Interfaces from the provided version.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Encode an Interfaces
into bytes.
Decoder is decoders::binary::parse
.
Encode an Interfaces
into a string.
Auto Trait Implementations
impl<'input> !RefUnwindSafe for Interfaces<'input>
impl<'input> !Send for Interfaces<'input>
impl<'input> !Sync for Interfaces<'input>
impl<'input> Unpin for Interfaces<'input>
impl<'input> UnwindSafe for Interfaces<'input>
Blanket Implementations
Mutably borrows from an owned value. Read more