pub enum DataSegmentKind {
Passive,
Active {
memory_index: u32,
offset_expr: InitExpr,
},
}
Expand description
The kind of data segment.
Variants§
Trait Implementations§
Source§impl Clone for DataSegmentKind
impl Clone for DataSegmentKind
Source§fn clone(&self) -> DataSegmentKind
fn clone(&self) -> DataSegmentKind
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 moreAuto Trait Implementations§
impl Freeze for DataSegmentKind
impl RefUnwindSafe for DataSegmentKind
impl Send for DataSegmentKind
impl Sync for DataSegmentKind
impl Unpin for DataSegmentKind
impl UnwindSafe for DataSegmentKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more