Struct wast::component::ComponentExport
source · [−]pub struct ComponentExport<'a> {
pub span: Span,
pub name: &'a str,
pub kind: ComponentExportKind<'a>,
}
Expand description
An entry in a WebAssembly component’s export section.
Fields
span: Span
Where this export was defined.
name: &'a str
The name of this export from the component.
kind: ComponentExportKind<'a>
The kind of export.
Trait Implementations
sourceimpl<'a> Debug for ComponentExport<'a>
impl<'a> Debug for ComponentExport<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ComponentExport<'a>
impl<'a> Send for ComponentExport<'a>
impl<'a> Sync for ComponentExport<'a>
impl<'a> Unpin for ComponentExport<'a>
impl<'a> UnwindSafe for ComponentExport<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more