pub enum ImportType<'a> {
Func(&'a FuncType),
Table(&'a TableType),
Memory(&'a MemoryType),
Global(&'a GlobalType),
}Expand description
Imported entity type.
Variants§
Func(&'a FuncType)
Imported function type.
Table(&'a TableType)
Imported table type.
Memory(&'a MemoryType)
Imported memory type.
Global(&'a GlobalType)
Imported global type.
Auto Trait Implementations§
impl<'a> Freeze for ImportType<'a>
impl<'a> RefUnwindSafe for ImportType<'a>
impl<'a> Send for ImportType<'a>
impl<'a> Sync for ImportType<'a>
impl<'a> Unpin for ImportType<'a>
impl<'a> UnsafeUnpin for ImportType<'a>
impl<'a> UnwindSafe for ImportType<'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