Struct makepad_widgets::shader::std::event::WindowGeom
pub struct WindowGeom {
pub dpi_factor: f64,
pub can_fullscreen: bool,
pub xr_is_presenting: bool,
pub is_fullscreen: bool,
pub is_topmost: bool,
pub position: DVec2,
pub inner_size: DVec2,
pub outer_size: DVec2,
}
Fields§
§dpi_factor: f64
§can_fullscreen: bool
§xr_is_presenting: bool
§is_fullscreen: bool
§is_topmost: bool
§position: DVec2
§inner_size: DVec2
§outer_size: DVec2
Trait Implementations§
§impl Clone for WindowGeom
impl Clone for WindowGeom
§fn clone(&self) -> WindowGeom
fn clone(&self) -> WindowGeom
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for WindowGeom
impl Debug for WindowGeom
§impl Default for WindowGeom
impl Default for WindowGeom
§fn default() -> WindowGeom
fn default() -> WindowGeom
Returns the “default value” for a type. Read more
§impl PartialEq<WindowGeom> for WindowGeom
impl PartialEq<WindowGeom> for WindowGeom
§fn eq(&self, other: &WindowGeom) -> bool
fn eq(&self, other: &WindowGeom) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WindowGeom
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more