[][src]Struct wit_parser::Func

pub struct Func<'a> {
    pub ty: u32,
    // some fields omitted

A element of the Funcs subsection which represents the body of an interface adapter, working with wasm interface types rather than core wasm types.


ty: u32

The wasm interface type signature of this function.


impl<'a> Func<'a>[src]

Important traits for Instructions<'a>
pub fn instrs(&self) -> Instructions<'a>[src]

Returns a parser for the instructions of this function.

Auto Trait Implementations

impl<'a> Send for Func<'a>

impl<'a> Sync for Func<'a>

impl<'a> Unpin for Func<'a>

impl<'a> UnwindSafe for Func<'a>

impl<'a> RefUnwindSafe for Func<'a>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized