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: i64
name: Option<String>
node_type: NodeType
border: NodeBorder
current_border_width: i32
layout: NodeLayout
percent: Option<f64>
rect: Rect
window_rect: Rect
deco_rect: Rect
geometry: Rect
urgent: bool
focused: bool
focus: Vec<i64>
nodes: Vec<Node>
floating_nodes: Vec<Node>
sticky: bool
representation: 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
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