Struct zaplib::WindowGeom
source · [−]pub struct WindowGeom {
pub dpi_factor: f32,
pub can_fullscreen: bool,
pub xr_can_present: bool,
pub xr_is_presenting: bool,
pub is_fullscreen: bool,
pub is_topmost: bool,
pub position: Vec2,
pub inner_size: Vec2,
pub outer_size: Vec2,
}
Expand description
Information on the geometry and capabilities of a particular native window.
Fields
dpi_factor: f32
can_fullscreen: bool
xr_can_present: bool
xr_is_presenting: bool
is_fullscreen: bool
is_topmost: bool
position: Vec2
inner_size: Vec2
outer_size: Vec2
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for WindowGeom
impl Send for WindowGeom
impl Sync for WindowGeom
impl Unpin for WindowGeom
impl UnwindSafe for WindowGeom
Blanket Implementations
Mutably borrows from an owned value. Read more