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: WindowHandletransient: Option<WindowHandle>can_resize: boolnever_focus: booldebugging: boolname: Option<String>pid: Option<u32>type: WindowTypetags: Vec<TagId>border: i32margin: Marginsmargin_multiplier: f32requested: Option<Xyhw>normal: Xyhwstart_loc: Option<Xyhw>container_size: Option<Xyhw>strut: Option<Xyhw>

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.