pub struct MemoryInit<'a> {
pub data: Index<'a>,
pub mem: Index<'a>,
}Expand description
Extra data associated with the memory.init instruction
Fields§
§data: Index<'a>The index of the data segment we’re copying into memory.
mem: Index<'a>The index of the memory we’re copying into,
Trait Implementations§
Source§impl<'a> Clone for MemoryInit<'a>
impl<'a> Clone for MemoryInit<'a>
Source§fn clone(&self) -> MemoryInit<'a>
fn clone(&self) -> MemoryInit<'a>
Returns a duplicate 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<'a> Debug for MemoryInit<'a>
impl<'a> Debug for MemoryInit<'a>
Auto Trait Implementations§
impl<'a> Freeze for MemoryInit<'a>
impl<'a> RefUnwindSafe for MemoryInit<'a>
impl<'a> Send for MemoryInit<'a>
impl<'a> Sync for MemoryInit<'a>
impl<'a> Unpin for MemoryInit<'a>
impl<'a> UnwindSafe for MemoryInit<'a>
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