pub struct CoreInstanceExport<'a> {
pub span: Span,
pub name: &'a str,
pub item: CoreItemRef<'a, ExportKind>,
}
Available on crate feature
component-model
only.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§
Source§impl<'a> Debug for CoreInstanceExport<'a>
impl<'a> Debug for CoreInstanceExport<'a>
Auto Trait Implementations§
impl<'a> Freeze for CoreInstanceExport<'a>
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§
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