Enum golem_wasm_ast::core::DataMode
source · pub enum DataMode<Expr> {
Passive,
Active {
memory: MemIdx,
offset: Expr,
},
}
Variants§
Trait Implementations§
source§impl<Expr: PartialEq> PartialEq for DataMode<Expr>
impl<Expr: PartialEq> PartialEq for DataMode<Expr>
source§impl<'a, T: TryFromExprSource + Debug + Clone + PartialEq> TryFrom<DataKind<'a>> for DataMode<T>
impl<'a, T: TryFromExprSource + Debug + Clone + PartialEq> TryFrom<DataKind<'a>> for DataMode<T>
impl<Expr> StructuralPartialEq for DataMode<Expr>
Auto Trait Implementations§
impl<Expr> Freeze for DataMode<Expr>where
Expr: Freeze,
impl<Expr> RefUnwindSafe for DataMode<Expr>where
Expr: RefUnwindSafe,
impl<Expr> Send for DataMode<Expr>where
Expr: Send,
impl<Expr> Sync for DataMode<Expr>where
Expr: Sync,
impl<Expr> Unpin for DataMode<Expr>where
Expr: Unpin,
impl<Expr> UnwindSafe for DataMode<Expr>where
Expr: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)