pub enum ModuleItemKind {
Function,
Table,
Memory,
Global,
}Expand description
Import/export external item kind.
Variants§
Trait Implementations§
Source§impl Clone for ModuleItemKind
impl Clone for ModuleItemKind
Source§fn clone(&self) -> ModuleItemKind
fn clone(&self) -> ModuleItemKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModuleItemKind
impl Debug for ModuleItemKind
Source§impl Default for ModuleItemKind
impl Default for ModuleItemKind
Source§fn default() -> ModuleItemKind
fn default() -> ModuleItemKind
Returns the “default value” for a type. Read more
Source§impl Hash for ModuleItemKind
impl Hash for ModuleItemKind
Source§impl Ord for ModuleItemKind
impl Ord for ModuleItemKind
Source§fn cmp(&self, other: &ModuleItemKind) -> Ordering
fn cmp(&self, other: &ModuleItemKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ModuleItemKind
impl PartialEq for ModuleItemKind
Source§fn eq(&self, other: &ModuleItemKind) -> bool
fn eq(&self, other: &ModuleItemKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ModuleItemKind
impl PartialOrd for ModuleItemKind
impl Copy for ModuleItemKind
impl Eq for ModuleItemKind
impl StructuralPartialEq for ModuleItemKind
Auto Trait Implementations§
impl Freeze for ModuleItemKind
impl RefUnwindSafe for ModuleItemKind
impl Send for ModuleItemKind
impl Sync for ModuleItemKind
impl Unpin for ModuleItemKind
impl UnsafeUnpin for ModuleItemKind
impl UnwindSafe for ModuleItemKind
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