Enum juicebox_asm::MemOp

source ·
pub enum MemOp {
    Indirect(Reg64),
    IndirectDisp(Reg64i32),
}
Expand description

Type representing a memory operand.

Variants§

§

Indirect(Reg64)

An indirect memory operand, eg mov [rax], rcx.

§

IndirectDisp(Reg64i32)

An indirect memory operand with additional displacement, eg mov [rax + 0x10], rcx.

Trait Implementations§

Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.
Emit an move instruction.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.