pub struct Node {Show 15 fields
pub id: Id,
pub split_type: SplitType,
pub split_ratio: f32,
pub vacant: bool,
pub hidden: bool,
pub sticky: bool,
pub private: bool,
pub locked: bool,
pub marked: bool,
pub presel: Option<PreselNode>,
pub rectangle: Rectangle,
pub constraints: Constraints,
pub first_child: Option<Box<Node>>,
pub second_child: Option<Box<Node>>,
pub client: Option<Client>,
}
Fields§
§id: Id
§split_type: SplitType
§split_ratio: f32
§vacant: bool
§sticky: bool
§private: bool
§locked: bool
§marked: bool
§presel: Option<PreselNode>
§rectangle: Rectangle
§constraints: Constraints
§first_child: Option<Box<Node>>
§second_child: Option<Box<Node>>
§client: Option<Client>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
Source§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
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