Struct wast::component::ComponentImport
source · [−]Expand description
An import
statement and entry in a WebAssembly component.
Fields
span: Span
Where this import
was defined
name: &'a str
The name of the item to import.
item: ItemSig<'a>
The item that’s being imported.
Trait Implementations
sourceimpl<'a> Debug for ComponentImport<'a>
impl<'a> Debug for ComponentImport<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ComponentImport<'a>
impl<'a> Send for ComponentImport<'a>
impl<'a> Sync for ComponentImport<'a>
impl<'a> Unpin for ComponentImport<'a>
impl<'a> UnwindSafe for ComponentImport<'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