pub enum ImportKind {
Function,
Memory,
Table,
Global,
}Expand description
External import kind.
Variants§
Implementations§
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 (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 ImportKind
impl Debug for ImportKind
Source§impl Default for ImportKind
impl Default for ImportKind
Source§fn default() -> ImportKind
fn default() -> ImportKind
Returns the “default value” for a type. Read more
Source§impl Display for ImportKind
impl Display for ImportKind
Source§impl FromStr for ImportKind
impl FromStr for ImportKind
Source§impl Hash for ImportKind
impl Hash for ImportKind
Source§impl Ord for ImportKind
impl Ord for ImportKind
Source§fn cmp(&self, other: &ImportKind) -> Ordering
fn cmp(&self, other: &ImportKind) -> 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 ImportKind
impl PartialEq for ImportKind
Source§fn eq(&self, other: &ImportKind) -> bool
fn eq(&self, other: &ImportKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ImportKind
impl PartialOrd for ImportKind
impl Copy 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 UnsafeUnpin 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