pub struct WindowState {
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
pub maximized: bool,
pub minimized: bool,
pub monitor: MonitorSnapshot,
pub version: u32,
}Fields§
§x: f64§y: f64§width: f64§height: f64§maximized: bool§minimized: boolThe window was minimised when last saved. Its x, y, width and height are the last
normal geometry, never the off-screen rectangle a minimised window reports.
monitor: MonitorSnapshot§version: u32Trait 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
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