pub enum Operand {
ImmediateDesc(ImmediateDesc),
RegisterDesc(RegisterDesc),
}
Expand description
VTIL instruction operand
Variants§
ImmediateDesc(ImmediateDesc)
Immediate operand containing a sized immediate value
RegisterDesc(RegisterDesc)
Register operand containing a register description
Implementations§
Trait Implementations§
Source§impl From<ImmediateDesc> for Operand
impl From<ImmediateDesc> for Operand
Source§fn from(immediate_desc: ImmediateDesc) -> Self
fn from(immediate_desc: ImmediateDesc) -> Self
Converts to this type from the input type.
Source§impl From<RegisterDesc> for Operand
impl From<RegisterDesc> for Operand
Source§fn from(register_desc: RegisterDesc) -> Self
fn from(register_desc: RegisterDesc) -> Self
Converts to this type from the input type.
Source§impl TryFromCtx<'_, Endian> for Operand
impl TryFromCtx<'_, Endian> for Operand
Source§impl<'a, 'b> TryInto<&'b ImmediateDesc> for &'a Operandwhere
'a: 'b,
impl<'a, 'b> TryInto<&'b ImmediateDesc> for &'a Operandwhere
'a: 'b,
Source§impl<'a, 'b> TryInto<&'b RegisterDesc> for &'a Operandwhere
'a: 'b,
impl<'a, 'b> TryInto<&'b RegisterDesc> for &'a Operandwhere
'a: 'b,
Source§impl TryIntoCtx<Endian> for Operand
impl TryIntoCtx<Endian> for Operand
impl Copy 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 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