Struct WorkspaceArea
pub struct WorkspaceArea {
pub x: i32,
pub y: i32,
pub width: i32,
pub height: i32,
pub x_fixed_frame: i32,
pub y_fixed_frame: i32,
pub x_size_frame: i32,
pub y_size_frame: i32,
}Expand description
The available workspace area on the primary monitor
Also includes fixed_frame and size_frame attributes respecitvely indicating
the thickness of the frame around the perimeter of a window and the thickness
of the sizing border around the perimeter of a window.
https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getsystemmetrics
Fields§
§x: i32The x coordinate of the workspace area in pixels.
From the top left of the screen.
y: i32The y coordinate of the workspace area in pixels.
From the top left of the screen.
width: i32The width in pixels of the workspace area.
height: i32The height in pixels of the workspace area.
x_fixed_frame: i32The thickness of the frame around the perimeter of a window on the x-axis.
y_fixed_frame: i32The thickness of the frame around the perimeter of a window on the y-axis.
x_size_frame: i32The thickness of the sizing border around the perimter of a window on the x-axis.
y_size_frame: i32The thickness of the sizing border around the perimter of a window on the y-axis.
Trait Implementations§
§impl Clone for WorkspaceArea
impl Clone for WorkspaceArea
§fn clone(&self) -> WorkspaceArea
fn clone(&self) -> WorkspaceArea
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more