[meta] Add some Debug derives
This commit is contained in:
@@ -79,12 +79,14 @@ impl InstructionGroup {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct PolymorphicInfo {
|
||||
pub use_typevar_operand: bool,
|
||||
pub ctrl_typevar: TypeVar,
|
||||
pub other_typevars: Vec<TypeVar>,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct InstructionContent {
|
||||
/// Instruction mnemonic, also becomes opcode name.
|
||||
pub name: String,
|
||||
@@ -139,7 +141,7 @@ pub struct InstructionContent {
|
||||
pub writes_cpu_flags: bool,
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Instruction {
|
||||
content: Rc<InstructionContent>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user