Skip to content

Commit 34d504f

Browse files
committed
docs
1 parent 4ffb303 commit 34d504f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/dpi.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
use crate::WindowSize;
22
pub use dpi::*;
33

4+
/// A size represented in the platform's native pixels.
5+
///
6+
/// This size is represented in physical pixels on Windows and Linux, and in logical pixels on macOS.
47
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
58
pub struct NativeSize<P> {
69
pub width: P,

0 commit comments

Comments
 (0)