[][src]Enum wasmer_interface_types_fl::ast::TypeKind

pub enum TypeKind {
    Function,
    Record,
}

Represents the kind of type.

Variants

Function

A function type.

Record

A record type.

Trait Implementations

impl Clone for TypeKind[src]

impl Debug for TypeKind[src]

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

impl Eq for TypeKind[src]

impl Hash for TypeKind[src]

impl PartialEq<TypeKind> for TypeKind[src]

impl Serialize for TypeKind[src]

impl StructuralEq for TypeKind[src]

impl StructuralPartialEq for TypeKind[src]

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

Encode a TypeKind into bytes.

impl TryFrom<u8> for TypeKind[src]

Parse a type kind.

type Error = &'static str

The type returned in the event of a conversion error.

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