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