Struct wast::component::CoreInstanceExport
source · [−]pub struct CoreInstanceExport<'a> {
pub span: Span,
pub name: &'a str,
pub item: CoreItemRef<'a, ExportKind>,
}
Expand description
An exported item as part of a core instance.
Fields
span: Span
Where this export was defined.
name: &'a str
The name of this export from the instance.
item: CoreItemRef<'a, ExportKind>
What’s being exported from the instance.
Trait Implementations
sourceimpl<'a> Debug for CoreInstanceExport<'a>
impl<'a> Debug for CoreInstanceExport<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for CoreInstanceExport<'a>
impl<'a> Send for CoreInstanceExport<'a>
impl<'a> Sync for CoreInstanceExport<'a>
impl<'a> Unpin for CoreInstanceExport<'a>
impl<'a> UnwindSafe for CoreInstanceExport<'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