Struct leftwm_core::models::Window [−][src]
pub struct Window {Show 17 fields
pub handle: WindowHandle,
pub transient: Option<WindowHandle>,
pub can_resize: bool,
pub never_focus: bool,
pub debugging: bool,
pub name: Option<String>,
pub pid: Option<u32>,
pub type: WindowType,
pub tags: Vec<TagId>,
pub border: i32,
pub margin: Margins,
pub margin_multiplier: f32,
pub requested: Option<Xyhw>,
pub normal: Xyhw,
pub start_loc: Option<Xyhw>,
pub container_size: Option<Xyhw>,
pub strut: Option<Xyhw>,
// some fields omitted
}
Expand description
Store Window information.
Fields
handle: WindowHandle
transient: Option<WindowHandle>
can_resize: bool
never_focus: bool
debugging: bool
name: Option<String>
pid: Option<u32>
type: WindowType
border: i32
margin: Margins
margin_multiplier: f32
requested: Option<Xyhw>
normal: Xyhw
start_loc: Option<Xyhw>
container_size: Option<Xyhw>
strut: Option<Xyhw>
Implementations
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Window
impl UnwindSafe for Window
Blanket Implementations
Mutably borrows from an owned value. Read more