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
impl Copy for LinearMemoryOptions
Source§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
Auto Trait Implementations§
impl Freeze for LinearMemoryOptions
impl RefUnwindSafe for LinearMemoryOptions
impl Send for LinearMemoryOptions
impl Sync for LinearMemoryOptions
impl Unpin for LinearMemoryOptions
impl UnsafeUnpin 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