Enum it_lilo::IType[][src]

pub enum IType {
Show variants Boolean, S8, S16, S32, S64, U8, U16, U32, U64, F32, F64, String, ByteArray, Array(Box<IType, Global>), I32, I64, Record(u64),
}

Represents the types supported by WIT.

Variants

Boolean

Boolean.

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.

ByteArray

Specialization of arrays for byte vector.

Array(Box<IType, Global>)

An array of values of the same type.

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 IType[src]

impl Debug for IType[src]

impl<'de> Deserialize<'de> for IType[src]

impl Eq for IType[src]

impl Hash for IType[src]

impl PartialEq<IType> for IType[src]

impl Serialize for IType[src]

impl StructuralEq for IType[src]

impl StructuralPartialEq for IType[src]

impl<'_> ToString for &'_ IType[src]

Encode an IType into a string.

Auto Trait Implementations

impl RefUnwindSafe for IType

impl Send for IType

impl Sync for IType

impl Unpin for IType

impl UnwindSafe for IType

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<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.