Skip to content

Commit 4cb5132

Browse files
mkroeningIsaacWoods
authored andcommitted
feat: derive additional traits for CommandRegister
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
1 parent 7091f29 commit 4cb5132

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/register.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ impl Debug for StatusRegister {
138138
}
139139

140140
bitflags::bitflags! {
141+
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
141142
pub struct CommandRegister: u16 {
142143
const IO_ENABLE = 1 << 0;
143144
const MEMORY_ENABLE = 1 << 1;

0 commit comments

Comments
 (0)