pub struct Window {
Show 20 fields pub handle: WindowHandle, pub transient: Option<WindowHandle>, pub can_resize: bool, pub never_focus: bool, pub debugging: bool, pub name: Option<String>, pub legacy_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>, pub res_name: Option<String>, pub res_class: Option<String>, /* private fields */
}
Expand description

Store Window information.

Fields

handle: WindowHandletransient: Option<WindowHandle>can_resize: boolnever_focus: booldebugging: boolname: Option<String>legacy_name: 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>res_name: Option<String>res_class: Option<String>

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.