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: f32can_fullscreen: boolxr_can_present: boolxr_is_presenting: boolis_fullscreen: boolis_topmost: boolposition: Vec2inner_size: Vec2outer_size: Vec2Trait 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