[][src]Struct wit_writer::Exports

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

Writer for the list of exports in an export subsection.

Methods

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

pub fn add(&mut self, name: &str, func: u32)[src]

Adds a new export in this type section.

Trait Implementations

impl<'_> Drop for Exports<'_>[src]

Auto Trait Implementations

impl<'a> Send for Exports<'a>

impl<'a> Sync for Exports<'a>

impl<'a> Unpin for Exports<'a>

impl<'a> !UnwindSafe for Exports<'a>

impl<'a> RefUnwindSafe for Exports<'a>

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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