pub enum ModuleKind {
CoreBinary,
CoreText,
Component,
WitPackage,
}Expand description
Coarse module kind metadata.
Variants§
CoreBinary
Core Wasm binary module.
CoreText
Core Wasm text module.
Component
Component Model component.
WitPackage
WIT package metadata.
Implementations§
Trait Implementations§
Source§impl Clone for ModuleKind
impl Clone for ModuleKind
Source§fn clone(&self) -> ModuleKind
fn clone(&self) -> ModuleKind
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 ModuleKind
impl Debug for ModuleKind
Source§impl Default for ModuleKind
impl Default for ModuleKind
Source§fn default() -> ModuleKind
fn default() -> ModuleKind
Returns the “default value” for a type. Read more
Source§impl Display for ModuleKind
impl Display for ModuleKind
Source§impl FromStr for ModuleKind
impl FromStr for ModuleKind
Source§impl Hash for ModuleKind
impl Hash for ModuleKind
Source§impl Ord for ModuleKind
impl Ord for ModuleKind
Source§fn cmp(&self, other: &ModuleKind) -> Ordering
fn cmp(&self, other: &ModuleKind) -> 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 ModuleKind
impl PartialEq for ModuleKind
Source§fn eq(&self, other: &ModuleKind) -> bool
fn eq(&self, other: &ModuleKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ModuleKind
impl PartialOrd for ModuleKind
impl Copy for ModuleKind
impl Eq for ModuleKind
impl StructuralPartialEq for ModuleKind
Auto Trait Implementations§
impl Freeze for ModuleKind
impl RefUnwindSafe for ModuleKind
impl Send for ModuleKind
impl Sync for ModuleKind
impl Unpin for ModuleKind
impl UnsafeUnpin for ModuleKind
impl UnwindSafe for ModuleKind
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