pub struct Export<'a> {
pub func: Index<'a>,
pub name: &'a str,
}Expand description
An exported wasm interface types function
Fields§
§func: Index<'a>The function being exported
name: &'a strThe name we’re exporting under
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Export<'a>
impl<'a> RefUnwindSafe for Export<'a>
impl<'a> Send for Export<'a>
impl<'a> Sync for Export<'a>
impl<'a> Unpin for Export<'a>
impl<'a> UnwindSafe for Export<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more