pub struct CompactMemoryArg { /* private fields */ }Expand description
A compact memory immediate used by optimized instructions.
Optimized instructions use this representation when the offset and module-local memory index fit its narrower fields.
Implementations§
Trait Implementations§
Source§impl Clone for CompactMemoryArg
impl Clone for CompactMemoryArg
Source§fn clone(&self) -> CompactMemoryArg
fn clone(&self) -> CompactMemoryArg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CompactMemoryArg
Source§impl Debug for CompactMemoryArg
impl Debug for CompactMemoryArg
Source§impl<'de> Deserialize<'de> for CompactMemoryArg
impl<'de> Deserialize<'de> for CompactMemoryArg
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CompactMemoryArg
Source§impl From<CompactMemoryArg> for Operand64<CompactMemoryOperand>
impl From<CompactMemoryArg> for Operand64<CompactMemoryOperand>
Source§fn from(arg: CompactMemoryArg) -> Self
fn from(arg: CompactMemoryArg) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CompactMemoryArg
impl PartialEq for CompactMemoryArg
Source§impl Serialize for CompactMemoryArg
impl Serialize for CompactMemoryArg
impl StructuralPartialEq for CompactMemoryArg
Source§impl TryFrom<Operand128<MemoryOperand>> for CompactMemoryArg
impl TryFrom<Operand128<MemoryOperand>> for CompactMemoryArg
Auto Trait Implementations§
impl Freeze for CompactMemoryArg
impl RefUnwindSafe for CompactMemoryArg
impl Send for CompactMemoryArg
impl Sync for CompactMemoryArg
impl Unpin for CompactMemoryArg
impl UnsafeUnpin for CompactMemoryArg
impl UnwindSafe for CompactMemoryArg
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