pub struct Export<'a> {
pub span: Span,
pub name: &'a str,
pub index: ItemRef<'a, ExportKind>,
}
Expand description
A entry in a WebAssembly module’s export section.
Fields
span: Span
Where this export was defined.
name: &'a str
The name of this export from the module.
index: ItemRef<'a, ExportKind>
What’s being exported from the module.
Trait Implementations
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more