Enum wasm_encoder::DataSegmentMode
source · Expand description
A data segment’s mode.
Variants§
Active
Fields
An active data segment.
Passive
A passive data segment.
Passive data segments are part of the bulk memory proposal.
Trait Implementations§
source§impl<'a> Clone for DataSegmentMode<'a>
impl<'a> Clone for DataSegmentMode<'a>
source§fn clone(&self) -> DataSegmentMode<'a>
fn clone(&self) -> DataSegmentMode<'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