Open riptl opened 5 months ago
It'd be nice to have a fn name() -> &'static str API to convert Register::RAX into "rax".
fn name() -> &'static str
Register::RAX
"rax"
The Debug trait works too, but is less efficient (calling format!() requires a memory alloc)
format!()
It'd be nice to have a
fn name() -> &'static str
API to convertRegister::RAX
into"rax"
.The Debug trait works too, but is less efficient (calling
format!()
requires a memory alloc)