Enum tinywasm_types::ElementKind
source · pub enum ElementKind {
Passive,
Active {
table: TableAddr,
offset: ConstInstruction,
},
Declared,
}Variants§
Trait Implementations§
source§impl Clone for ElementKind
impl Clone for ElementKind
source§fn clone(&self) -> ElementKind
fn clone(&self) -> ElementKind
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 moresource§impl Debug for ElementKind
impl Debug for ElementKind
source§impl PartialEq for ElementKind
impl PartialEq for ElementKind
source§fn eq(&self, other: &ElementKind) -> bool
fn eq(&self, other: &ElementKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ElementKind
Auto Trait Implementations§
impl RefUnwindSafe for ElementKind
impl Send for ElementKind
impl Sync for ElementKind
impl Unpin for ElementKind
impl UnwindSafe for ElementKind
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