pub enum DataModel {
Gc {},
LinearMemory {
memory: Option<CoreExport<MemoryIndex>>,
memory64: bool,
realloc: Option<CoreDef>,
},
}
Expand description
The data model for objects that are not unboxed in locals.
Variants§
Gc
Data is stored in GC objects.
LinearMemory
Data is stored in a linear memory.
Fields
§
memory: Option<CoreExport<MemoryIndex>>
An optional memory definition supplied.
Trait Implementations§
impl Eq for DataModel
impl StructuralPartialEq for DataModel
Auto Trait Implementations§
impl Freeze for DataModel
impl RefUnwindSafe for DataModel
impl Send for DataModel
impl Sync for DataModel
impl Unpin for DataModel
impl UnwindSafe for DataModel
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.