Enum wasm_encoder::component::SectionId [−][src]
#[repr(u8)]
pub enum SectionId {
Custom,
Type,
Import,
Module,
Instance,
Alias,
Export,
Function,
AdapterFunction,
}
Expand description
Known component section IDs.
Useful for implementing the ComponentSection
trait, or for setting
RawSection::id
.
Variants
Custom
The section is a custom section.
Type
The section is a type section.
Import
The section is an import section.
Module
The section is a module section.
Instance
The section is an instance section.
Alias
The section is an alias section.
Export
The section is an export section.
Function
The section is a function section.
AdapterFunction
The section is an adapter function section.
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 SectionId
impl UnwindSafe for SectionId
Blanket Implementations
Mutably borrows from an owned value. Read more