Skip to content

Commit c6c3f88

Browse files
authored
feat(backend): implement common traits for WindowSize (#586)
1 parent a20bd6a commit c6c3f88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend.rs

+1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ pub enum ClearType {
140140
}
141141

142142
/// The window size in characters (columns / rows) as well as pixels.
143+
#[derive(Debug, Clone, Copy, Eq, PartialEq, Hash)]
143144
pub struct WindowSize {
144145
/// Size of the window in characters (columns / rows).
145146
pub columns_rows: Size,

0 commit comments

Comments
 (0)