Skip to content

Commit

Permalink
Derive Copy and Eq for SourceVoltage
Browse files Browse the repository at this point in the history
  • Loading branch information
hdoordt committed Oct 3, 2022
1 parent 0ca4b8a commit 5ed4bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ impl Display for ParseTypeError {
}
}

#[derive(Default, Debug)]
#[derive(Debug, Default, Clone, Copy, PartialEq, Eq)]
/// Device source voltage.
pub struct SourceVoltage {
raw: [u8; 2],
Expand Down

0 comments on commit 5ed4bb3

Please sign in to comment.