Struct wast::component::CoreInstance
source · [−]pub struct CoreInstance<'a> {
pub span: Span,
pub id: Option<Id<'a>>,
pub name: Option<NameAnnotation<'a>>,
pub kind: CoreInstanceKind<'a>,
}
Expand description
A core instance defined by instantiation or exporting core items.
Fields
span: Span
Where this core instance
was defined.
id: Option<Id<'a>>
An identifier that this instance is resolved with (optionally) for name resolution.
name: Option<NameAnnotation<'a>>
An optional name for this instance stored in the custom name
section.
kind: CoreInstanceKind<'a>
What kind of instance this is.
Trait Implementations
sourceimpl<'a> Debug for CoreInstance<'a>
impl<'a> Debug for CoreInstance<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for CoreInstance<'a>
impl<'a> Send for CoreInstance<'a>
impl<'a> Sync for CoreInstance<'a>
impl<'a> Unpin for CoreInstance<'a>
impl<'a> UnwindSafe for CoreInstance<'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