Implement an opaque Size type

It immutably ties physical and logical sizes to a specific scale factor.
This commit is contained in:
Héctor Ramón Jiménez 2020-01-09 04:22:27 +01:00 committed by Imbris
parent 1d71f78f90
commit fbc9deb424
3 changed files with 55 additions and 32 deletions

View file

@ -32,6 +32,7 @@ mod application;
mod clipboard;
mod mode;
mod proxy;
mod size;
// We disable debug capabilities on release builds unless the `debug` feature
// is explicitly enabled.
@ -49,3 +50,4 @@ pub use settings::Settings;
use debug::Debug;
use proxy::Proxy;
use size::Size;