pub enum Op {
Register(Register),
Indirect(Register),
Literal(i64),
DDirective(DDirective),
Label(String),
String(String),
Expression(String),
Byte,
Word,
Dword,
Qword,
None,
}Variants§
Register(Register)
Think to use use x64asm::register::Register::*;
Indirect(Register)
Literal(i64)
DDirective(DDirective)
Label(String)
String(String)
Expression(String)
Byte
Word
Dword
Qword
None
Trait Implementations§
Source§impl ToAssembly for Operand
impl ToAssembly for Operand
Source§fn to_assembly(&self, _: Separator) -> String
fn to_assembly(&self, _: Separator) -> String
Converts anything into a
String, which is necessarily a valid
assembly or a part of code.impl Eq for Operand
impl StructuralPartialEq for Operand
Auto Trait Implementations§
impl Freeze for Operand
impl RefUnwindSafe for Operand
impl Send for Operand
impl Sync for Operand
impl Unpin for Operand
impl UnsafeUnpin for Operand
impl UnwindSafe for Operand
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