Enum wasmbin::sections::Section[][src]

#[repr(u8)]
pub enum Section {
Show 13 variants Custom(Blob<Custom>), Type(Blob<Type>), Import(Blob<Import>), Function(Blob<Function>), Table(Blob<Table>), Memory(Blob<Memory>), Global(Blob<Global>), Export(Blob<Export>), Start(Blob<Start>), Element(Blob<Element>), DataCount(Blob<DataCount>), Code(Blob<Code>), Data(Blob<Data>),
}

Variants

Custom

Tuple Fields of Custom

0: Blob<Custom>
Type

Tuple Fields of Type

0: Blob<Type>
Import

Tuple Fields of Import

0: Blob<Import>
Function

Tuple Fields of Function

0: Blob<Function>
Table

Tuple Fields of Table

0: Blob<Table>
Memory

Tuple Fields of Memory

0: Blob<Memory>
Global

Tuple Fields of Global

0: Blob<Global>
Export

Tuple Fields of Export

0: Blob<Export>
Start

Tuple Fields of Start

0: Blob<Start>
Element

Tuple Fields of Element

0: Blob<Element>
DataCount

Tuple Fields of DataCount

0: Blob<DataCount>
Code

Tuple Fields of Code

0: Blob<Code>
Data

Tuple Fields of Data

0: Blob<Data>

Implementations

Trait Implementations

Generate an arbitrary value of Self from the given unstructured data. Read more

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more

Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.