Struct tinywasm_types::MemoryArg
source · pub struct MemoryArg {
pub mem_addr: MemAddr,
pub align: u8,
pub align_max: u8,
pub offset: u64,
}Expand description
Represents a memory immediate in a WebAssembly memory instruction.
Fields§
§mem_addr: MemAddr§align: u8§align_max: u8§offset: u64Trait Implementations§
source§impl PartialEq for MemoryArg
impl PartialEq for MemoryArg
impl Copy for MemoryArg
impl Eq for MemoryArg
impl StructuralEq for MemoryArg
impl StructuralPartialEq for MemoryArg
Auto Trait Implementations§
impl RefUnwindSafe for MemoryArg
impl Send for MemoryArg
impl Sync for MemoryArg
impl Unpin for MemoryArg
impl UnwindSafe for MemoryArg
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