Enum wasm_encoder::ElementMode
source · pub enum ElementMode<'a> {
Passive,
Declared,
Active {
table: Option<u32>,
offset: &'a ConstExpr,
},
}
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
An active element segment.
Trait Implementations§
source§impl<'a> Clone for ElementMode<'a>
impl<'a> Clone for ElementMode<'a>
source§fn clone(&self) -> ElementMode<'a>
fn clone(&self) -> ElementMode<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more