pub struct LocatedInstruction {
pub id: InstructionId,
pub offset: u32,
pub instruction: Instruction,
}Expand description
An instruction paired with its stable identity and first byte offset.
Fields§
§id: InstructionIdStable stream-local identity.
offset: u32Offset of the opcode, or of the wide prefix when present.
instruction: InstructionDecoded instruction.
Trait Implementations§
Source§impl Clone for LocatedInstruction
impl Clone for LocatedInstruction
Source§fn clone(&self) -> LocatedInstruction
fn clone(&self) -> LocatedInstruction
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 moreSource§impl Debug for LocatedInstruction
impl Debug for LocatedInstruction
impl Eq for LocatedInstruction
Source§impl PartialEq for LocatedInstruction
impl PartialEq for LocatedInstruction
impl StructuralPartialEq for LocatedInstruction
Auto Trait Implementations§
impl Freeze for LocatedInstruction
impl RefUnwindSafe for LocatedInstruction
impl Send for LocatedInstruction
impl Sync for LocatedInstruction
impl Unpin for LocatedInstruction
impl UnsafeUnpin for LocatedInstruction
impl UnwindSafe for LocatedInstruction
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