Skip to content

Commit

Permalink
Add common traits to Width and Height
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucretiel committed Aug 18, 2022
1 parent 97451d2 commit 6443031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Expand Up @@ -18,9 +18,9 @@
//! ```
//!

#[derive(Debug)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
pub struct Width(pub u16);
#[derive(Debug)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
pub struct Height(pub u16);

#[cfg(unix)]
Expand Down

0 comments on commit 6443031

Please sign in to comment.