Struct swayipc_types::Node[][src]

#[non_exhaustive]
pub struct Node {
Show 29 fields pub id: i64, pub name: Option<String>, pub node_type: NodeType, pub border: NodeBorder, pub current_border_width: i32, pub layout: NodeLayout, pub percent: Option<f64>, pub rect: Rect, pub window_rect: Rect, pub deco_rect: Rect, pub geometry: Rect, pub urgent: bool, pub focused: bool, pub focus: Vec<i64>, pub nodes: Vec<Node>, pub floating_nodes: Vec<Node>, pub sticky: bool, pub representation: Option<String>, pub fullscreen_mode: Option<u8>, pub app_id: Option<String>, pub pid: Option<i32>, pub window: Option<i64>, pub num: Option<i32>, pub window_properties: Option<WindowProperties>, pub marks: Vec<String>, pub inhibit_idle: Option<bool>, pub idle_inhibitors: Option<IdleInhibitors>, pub shell: Option<ShellType>, pub visible: Option<bool>,
}

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
id: i64name: Option<String>node_type: NodeTypeborder: NodeBordercurrent_border_width: i32layout: NodeLayoutpercent: Option<f64>rect: Rectwindow_rect: Rectdeco_rect: Rectgeometry: Recturgent: boolfocused: boolfocus: Vec<i64>nodes: Vec<Node>floating_nodes: Vec<Node>sticky: boolrepresentation: Option<String>fullscreen_mode: Option<u8>app_id: Option<String>pid: Option<i32>window: Option<i64>num: Option<i32>window_properties: Option<WindowProperties>marks: Vec<String>inhibit_idle: Option<bool>idle_inhibitors: Option<IdleInhibitors>shell: Option<ShellType>visible: Option<bool>

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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 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.