Struct wast::core::MemoryInit
source · 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 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<'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