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
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 moreAuto Trait Implementations§
impl<'a> Freeze for ElementMode<'a>
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§
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