pub enum WasmSectionKind {
Show 13 variants
Custom,
Type,
Import,
Function,
Table,
Memory,
Global,
Export,
Start,
Element,
Code,
Data,
DataCount,
}Expand description
Known WebAssembly section kinds.
Variants§
Custom
Section ID 0.
Type
Section ID 1.
Import
Section ID 2.
Function
Section ID 3.
Table
Section ID 4.
Memory
Section ID 5.
Global
Section ID 6.
Export
Section ID 7.
Start
Section ID 8.
Element
Section ID 9.
Code
Section ID 10.
Data
Section ID 11.
DataCount
Section ID 12.
Implementations§
Trait Implementations§
Source§impl Clone for WasmSectionKind
impl Clone for WasmSectionKind
Source§fn clone(&self) -> WasmSectionKind
fn clone(&self) -> WasmSectionKind
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 WasmSectionKind
impl Debug for WasmSectionKind
Source§impl Default for WasmSectionKind
impl Default for WasmSectionKind
Source§fn default() -> WasmSectionKind
fn default() -> WasmSectionKind
Returns the “default value” for a type. Read more
Source§impl Display for WasmSectionKind
impl Display for WasmSectionKind
Source§impl FromStr for WasmSectionKind
impl FromStr for WasmSectionKind
Source§impl Hash for WasmSectionKind
impl Hash for WasmSectionKind
Source§impl Ord for WasmSectionKind
impl Ord for WasmSectionKind
Source§fn cmp(&self, other: &WasmSectionKind) -> Ordering
fn cmp(&self, other: &WasmSectionKind) -> 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 WasmSectionKind
impl PartialEq for WasmSectionKind
Source§fn eq(&self, other: &WasmSectionKind) -> bool
fn eq(&self, other: &WasmSectionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WasmSectionKind
impl PartialOrd for WasmSectionKind
Source§impl TryFrom<u8> for WasmSectionKind
impl TryFrom<u8> for WasmSectionKind
impl Copy for WasmSectionKind
impl Eq for WasmSectionKind
impl StructuralPartialEq for WasmSectionKind
Auto Trait Implementations§
impl Freeze for WasmSectionKind
impl RefUnwindSafe for WasmSectionKind
impl Send for WasmSectionKind
impl Sync for WasmSectionKind
impl Unpin for WasmSectionKind
impl UnsafeUnpin for WasmSectionKind
impl UnwindSafe for WasmSectionKind
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