[][src]Struct witx::InterfaceFunc

pub struct InterfaceFunc {
    pub name: Id,
    pub params: Vec<InterfaceFuncParam>,
    pub results: Vec<InterfaceFuncParam>,
    pub noreturn: bool,
    pub docs: String,
}

Fields

name: Idparams: Vec<InterfaceFuncParam>results: Vec<InterfaceFuncParam>noreturn: booldocs: String

Implementations

impl InterfaceFunc[src]

pub fn core_type(&self) -> CoreFuncType[src]

Get the WebAssembly type signature for this interface function

impl InterfaceFunc[src]

pub fn to_sexpr(&self) -> SExpr[src]

Trait Implementations

impl Clone for InterfaceFunc[src]

impl Debug for InterfaceFunc[src]

impl Eq for InterfaceFunc[src]

impl Hash for InterfaceFunc[src]

impl PartialEq<InterfaceFunc> for InterfaceFunc[src]

impl StructuralEq for InterfaceFunc[src]

impl StructuralPartialEq for InterfaceFunc[src]

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