pub struct WindowState {
pub x: i32,
pub y: i32,
pub width: u32,
pub height: u32,
pub maximized: bool,
}Expand description
Persisted window geometry supplied to and consumed by native backends.
Fields§
§x: i32§y: i32§width: u32§height: u32§maximized: boolTrait Implementations§
Source§impl Clone for WindowState
impl Clone for WindowState
Source§impl Debug for WindowState
impl Debug for WindowState
Source§impl<'de> Deserialize<'de> for WindowState
impl<'de> Deserialize<'de> for WindowState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WindowState
Source§impl PartialEq for WindowState
impl PartialEq for WindowState
Source§impl Serialize for WindowState
impl Serialize for WindowState
impl StructuralPartialEq for WindowState
Auto Trait Implementations§
impl Freeze for WindowState
impl RefUnwindSafe for WindowState
impl Send for WindowState
impl Sync for WindowState
impl Unpin for WindowState
impl UnsafeUnpin for WindowState
impl UnwindSafe for WindowState
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