Struct wasmparser::Section

source ·
pub struct Section<'a> {
    pub code: SectionCode<'a>,
    /* private fields */
}

Fields

code: SectionCode<'a>

Implementations

Creates reader for the type section. Available when the reader just read the type section.

Creates reader for the function section. Available when the reader just read the function section.

Creates reader for the code section. Available when the reader just read the code section.

Creates reader for the export section. Available when the reader just read the export section.

Creates reader for the import section. Available when the reader just read the import section.

Creates reader for the global section. Available when the reader just read the global section.

Creates reader for the memory section. Available when the reader just read the memory section.

Creates reader for the data section. Available when the reader just read the data section.

Creates reader for the table section. Available when the reader just read the table section.

Creates reader for the element section. Available when the reader just read the element section.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.