Expand description
displays_types is the shared base layer for common display types across the workspace.
Domain-specific type crates build on top of it: displays_logical_types for logical display state and displays_physical_types for physical display state.
Most users should start with the top-level displays crate instead of depending on this crate directly.
+------------------------+
| displays_types |
+------------------------+
^ ^ ^
| | |
+---------------+ | +---------------------------+
| displays | | | displays_logical_types |
+---------------+ | +---------------------------+
+---------------------------+
| displays_phyiscal_types |
+---------------------------+
^ ^
| |
+-------------------------+ +---------------------------+
| displays_physical_linux | | displays_physical_windows |
+-------------------------+ +---------------------------+Structs§
- Brightness
- Brightness percentage in the inclusive range
0..=100. - Display
Identifier - A user-facing identifier used to match one or more displays.
- Display
Identifier Inner - Point
- A 2D point used for logical display positioning.
- Size
- A 2D size used for display dimensions.
Enums§
- Orientation
- Display orientation in degrees clockwise.
- Pixel
Format - Platform pixel format identifiers used by logical display state.