Enum wasmtime_environ::wasmparser::SectionCode [−][src]
pub enum SectionCode<'a> {
Show 18 variants
Custom {
name: &'a str,
kind: CustomSectionKind,
},
Type,
Alias,
Import,
Module,
Instance,
Function,
Table,
Memory,
Global,
Export,
Start,
Element,
ModuleCode,
Code,
Data,
DataCount,
Tag,
}
Expand description
Section code as defined here.
Variants
Fields of Custom
name: &'a str
kind: CustomSectionKind
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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<'a> RefUnwindSafe for SectionCode<'a>
impl<'a> Send for SectionCode<'a>
impl<'a> Sync for SectionCode<'a>
impl<'a> Unpin for SectionCode<'a>
impl<'a> UnwindSafe for SectionCode<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.