Skip to content

Commit

Permalink
feat(backend): implement common traits for WindowSize (#586)
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun authored Oct 23, 2023
1 parent a20bd6a commit c6c3f88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ pub enum ClearType {
}

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

0 comments on commit c6c3f88

Please sign in to comment.