[]Enum aquamarine_vm::IType

pub enum IType {
    S8,
    S16,
    S32,
    S64,
    U8,
    U16,
    U32,
    U64,
    F32,
    F64,
    String,
    Array(Box<InterfaceType>),
    Anyref,
    I32,
    I64,
    Record(u64),
}

Represents the types supported by WIT.

Variants

S8

A 8-bits signed integer.

S16

A 16-bits signed integer.

S32

A 32-bits signed integer.

S64

A 64-bits signed integer.

U8

A 8-bits unsigned integer.

U16

A 16-bits unsigned integer.

U32

A 32-bits unsigned integer.

U64

A 64-bits unsigned integer.

F32

A 32-bits float.

F64

A 64-bits float.

String

A string.

An array of values of the same type.

Anyref

An any reference.

I32

A 32-bits integer (as defined in WebAssembly core).

I64

A 64-bits integer (as defined in WebAssembly core).

Record(u64)

A record contains record index from interfaces AST.

Trait Implementations

impl Clone for InterfaceType

impl Debug for InterfaceType

impl<'de> Deserialize<'de> for InterfaceType

impl Eq for InterfaceType

impl Hash for InterfaceType

impl<'_> Parse<'_> for InterfaceType

impl PartialEq<InterfaceType> for InterfaceType

impl Serialize for InterfaceType

impl StructuralEq for InterfaceType

impl StructuralPartialEq for InterfaceType

impl<W> ToBytes<W> for InterfaceType where
    W: Write

Encode an InterfaceType into bytes.

impl<'_> ToString for &'_ InterfaceType

Encode an InterfaceType into a string.

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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> Serialize for T where
    T: Serialize + ?Sized
[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.