pub struct DecodedInstruction {
pub length: usize,
pub is_relative: bool,
pub relative_target: Option<usize>,
}Expand description
result of instruction decoding
Fields§
§length: usizelength of the instruction in bytes
is_relative: boolwhether this instruction uses relative addressing
relative_target: Option<usize>for relative instructions, the target address
Trait Implementations§
Source§impl Clone for DecodedInstruction
impl Clone for DecodedInstruction
Source§fn clone(&self) -> DecodedInstruction
fn clone(&self) -> DecodedInstruction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DecodedInstruction
impl RefUnwindSafe for DecodedInstruction
impl Send for DecodedInstruction
impl Sync for DecodedInstruction
impl Unpin for DecodedInstruction
impl UnwindSafe for DecodedInstruction
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