[][src]Struct wasmtime_interface_types::ExportBinding

pub struct ExportBinding<'a> { /* fields omitted */ }

Representation of a binding of an exported function.

Can be used to learn about binding expressions and/or binding types.

Methods

impl<'_> ExportBinding<'_>[src]

pub fn param_bindings(&self) -> Result<Vec<IncomingBindingExpression>>[src]

Returns the list of binding expressions used to create the parameters for this binding.

pub fn param_types(&self) -> Result<Vec<WebidlScalarType>>[src]

Returns the list of scalar types used for this binding

pub fn result_bindings(&self) -> Result<Vec<OutgoingBindingExpression>>[src]

Returns the list of binding expressions used to extract the return values of this binding.

Auto Trait Implementations

impl<'a> RefUnwindSafe for ExportBinding<'a>

impl<'a> Send for ExportBinding<'a>

impl<'a> Sync for ExportBinding<'a>

impl<'a> Unpin for ExportBinding<'a>

impl<'a> UnwindSafe for ExportBinding<'a>

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> Same<T> for T

type Output = T

Should always be Self

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.