1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
use std::fmt; use std::fmt::Formatter; use id_arena::Id; pub type InstructionId = Id<Instruction>; /// An representation of LLVMInstruction. /// LLVMInstruction を表す構造体 #[derive(Eq, PartialEq, PartialOrd, Ord, Hash)] pub struct Instruction {} impl fmt::Display for Instruction { fn fmt(&self, _f: &mut Formatter<'_>) -> fmt::Result { Ok(()) } }