pub struct LinearMemoryOptions {
pub memory: Option<RuntimeMemoryIndex>,
pub realloc: Option<RuntimeReallocIndex>,
}
Expand description
Data is stored in a linear memory.
Fields§
§memory: Option<RuntimeMemoryIndex>
The memory used by these options, if specified.
realloc: Option<RuntimeReallocIndex>
The realloc function used by these options, if specified.
Trait Implementations§
Source§impl Clone for LinearMemoryOptions
impl Clone for LinearMemoryOptions
Source§fn clone(&self) -> LinearMemoryOptions
fn clone(&self) -> LinearMemoryOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LinearMemoryOptions
impl Debug for LinearMemoryOptions
Source§impl<'de> Deserialize<'de> for LinearMemoryOptions
impl<'de> Deserialize<'de> for LinearMemoryOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for LinearMemoryOptions
impl Serialize for LinearMemoryOptions
impl Copy for LinearMemoryOptions
Auto Trait Implementations§
impl Freeze for LinearMemoryOptions
impl RefUnwindSafe for LinearMemoryOptions
impl Send for LinearMemoryOptions
impl Sync for LinearMemoryOptions
impl Unpin for LinearMemoryOptions
impl UnwindSafe for LinearMemoryOptions
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