Struct tokio_i3ipc::reply::Node
source · pub struct Node {Show 27 fields
pub id: usize,
pub name: Option<String>,
pub num: Option<i32>,
pub node_type: NodeType,
pub layout: NodeLayout,
pub output: Option<String>,
pub orientation: NodeOrientation,
pub border: NodeBorder,
pub scratchpad_state: ScratchpadState,
pub percent: Option<f64>,
pub rect: Rect,
pub window_rect: Rect,
pub deco_rect: Rect,
pub geometry: Rect,
pub window: Option<usize>,
pub window_properties: Option<WindowProperties>,
pub window_type: Option<WindowType>,
pub current_border_width: i32,
pub urgent: bool,
pub marks: Option<Marks>,
pub focused: bool,
pub focus: Vec<usize, Global>,
pub sticky: bool,
pub floating: Option<Floating>,
pub floating_nodes: Vec<Node, Global>,
pub fullscreen_mode: FullscreenMode,
pub nodes: Vec<Node, Global>,
}
Expand description
Tree/Node reply
Fields§
§id: usize
§name: Option<String>
§num: Option<i32>
§node_type: NodeType
§layout: NodeLayout
§output: Option<String>
§orientation: NodeOrientation
§border: NodeBorder
§scratchpad_state: ScratchpadState
§percent: Option<f64>
§rect: Rect
§window_rect: Rect
§deco_rect: Rect
§geometry: Rect
§window: Option<usize>
§window_properties: Option<WindowProperties>
§window_type: Option<WindowType>
§current_border_width: i32
§urgent: bool
§marks: Option<Marks>
§focused: bool
§focus: Vec<usize, Global>
§sticky: bool
§floating: Option<Floating>
§floating_nodes: Vec<Node, Global>
§fullscreen_mode: FullscreenMode
§nodes: Vec<Node, Global>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Node, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Node, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Node> for Node
impl PartialEq<Node> for Node
source§impl Serialize for Node
impl Serialize for Node
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more