pub enum ImportKind {
Function(FunctionId),
Table(TableId),
Memory(MemoryId),
Global(GlobalId),
Tag(TagId),
}Expand description
An imported item.
Variants§
Function(FunctionId)
An imported function.
Table(TableId)
An imported table.
Memory(MemoryId)
An imported memory.
Global(GlobalId)
An imported global.
Tag(TagId)
An imported tag for exception handling.
Trait Implementations§
Source§impl Clone for ImportKind
impl Clone for ImportKind
Source§fn clone(&self) -> ImportKind
fn clone(&self) -> ImportKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImportKind
impl Debug for ImportKind
Source§impl From<Id<Function>> for ImportKind
impl From<Id<Function>> for ImportKind
Source§fn from(id: FunctionId) -> ImportKind
fn from(id: FunctionId) -> ImportKind
Converts to this type from the input type.
Source§impl From<Id<Global>> for ImportKind
impl From<Id<Global>> for ImportKind
Source§fn from(id: GlobalId) -> ImportKind
fn from(id: GlobalId) -> ImportKind
Converts to this type from the input type.
Source§impl From<Id<Memory>> for ImportKind
impl From<Id<Memory>> for ImportKind
Source§fn from(id: MemoryId) -> ImportKind
fn from(id: MemoryId) -> ImportKind
Converts to this type from the input type.
Source§impl From<Id<Table>> for ImportKind
impl From<Id<Table>> for ImportKind
Source§fn from(id: TableId) -> ImportKind
fn from(id: TableId) -> ImportKind
Converts to this type from the input type.
Source§impl From<Id<Tag>> for ImportKind
impl From<Id<Tag>> for ImportKind
Source§fn from(id: TagId) -> ImportKind
fn from(id: TagId) -> ImportKind
Converts to this type from the input type.
Source§impl Hash for ImportKind
impl Hash for ImportKind
Source§impl PartialEq for ImportKind
impl PartialEq for ImportKind
impl Eq for ImportKind
impl StructuralPartialEq for ImportKind
Auto Trait Implementations§
impl Freeze for ImportKind
impl RefUnwindSafe for ImportKind
impl Send for ImportKind
impl Sync for ImportKind
impl Unpin for ImportKind
impl UnwindSafe for ImportKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.