Skip to content

Commit

Permalink
decoder: add FullInstruction convenience alias
Browse files Browse the repository at this point in the history
  • Loading branch information
athre0z committed Oct 28, 2023
1 parent 4f874bb commit 6f1523f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ impl<'decoder, 'buffer, O: Operands> Iterator for InstructionIter<'decoder, 'buf
}
}

/// Convenience alias for an instruction with full operand information.
#[cfg(feature = "full-decoder")]
pub type FullInstruction = Instruction<AllOperands>;

/// Basic information about an instruction.
///
/// Instruction information can be accessed via [`core::ops::Deref`]. Please
Expand Down

0 comments on commit 6f1523f

Please sign in to comment.