Enum wasm_encoder::SectionId [−][src]
#[repr(u8)]
pub enum SectionId {
Show variants
Custom,
Type,
Import,
Function,
Table,
Memory,
Global,
Export,
Start,
Element,
Code,
Data,
DataCount,
Module,
Instance,
Alias,
}Expand description
Known section IDs.
Useful for implementing the Section trait, or for setting
RawSection::id.
Variants
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for SectionIdimpl UnwindSafe for SectionIdBlanket Implementations
Mutably borrows from an owned value. Read more