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>,
pub sticky: bool,
pub floating: Option<Floating>,
pub floating_nodes: Vec<Node>,
pub fullscreen_mode: FullscreenMode,
pub nodes: Vec<Node>,
}
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>
§sticky: bool
§floating: Option<Floating>
§floating_nodes: Vec<Node>
§fullscreen_mode: FullscreenMode
§nodes: Vec<Node>
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 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
impl Eq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more