Enum wasm_encoder::ElementMode [−][src]
pub enum ElementMode<'a> {
Passive,
Declared,
Active {
table: Option<u32>,
offset: &'a Instruction<'a>,
},
}
Expand description
An element segment’s mode.
Variants
Passive
A passive element segment.
Passive segments are part of the bulk memory proposal.
Declared
A declared element segment.
Declared segments are part of the bulk memory proposal.
Active
Fields
table: Option<u32>
The table index.
None
is implicitly table 0
. Non-None
tables are part of the
reference types proposal.
offset: &'a Instruction<'a>
The offset within the table to place this segment.
An active element segment.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for ElementMode<'a>
impl<'a> Send for ElementMode<'a>
impl<'a> Sync for ElementMode<'a>
impl<'a> Unpin for ElementMode<'a>
impl<'a> UnwindSafe for ElementMode<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more