[][src]Enum wasmer_interface_types_fl::ast::InterfaceKind

pub enum InterfaceKind {
    Type,
    Import,
    Adapter,
    Export,
    Implementation,
}

Represents the kind of interface.

Variants

Type

A type.

Import

An imported function.

Adapter

An adapter.

Export

An exported function.

Implementation

An implementation.

Trait Implementations

impl Clone for InterfaceKind[src]

impl Debug for InterfaceKind[src]

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

impl Eq for InterfaceKind[src]

impl Hash for InterfaceKind[src]

impl PartialEq<InterfaceKind> for InterfaceKind[src]

impl Serialize for InterfaceKind[src]

impl StructuralEq for InterfaceKind[src]

impl StructuralPartialEq for InterfaceKind[src]

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

Encode an InterfaceKind into bytes.

impl TryFrom<u8> for InterfaceKind[src]

Parse an interface 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.