Struct walrus::ir::MemoryInit
source · pub struct MemoryInit {
pub memory: MemoryId,
pub data: DataId,
}
Expand description
memory.init
Fields§
§memory: MemoryId
The memory we’re growing.
data: DataId
The data to copy in
Trait Implementations§
source§impl Clone for MemoryInit
impl Clone for MemoryInit
source§fn clone(&self) -> MemoryInit
fn clone(&self) -> MemoryInit
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 MemoryInit
impl Debug for MemoryInit
source§impl From<MemoryInit> for Instr
impl From<MemoryInit> for Instr
source§fn from(x: MemoryInit) -> Instr
fn from(x: MemoryInit) -> Instr
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MemoryInit
impl Send for MemoryInit
impl Sync for MemoryInit
impl Unpin for MemoryInit
impl UnwindSafe for MemoryInit
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