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