pub struct NodeInfo {Show 19 fields
pub id: u64,
pub title: String,
pub app_id: Option<String>,
pub output: Option<String>,
pub kind: NodeKind,
pub state: NodeState,
pub visible: bool,
pub focused: bool,
pub latest: bool,
pub role: NodeRole,
pub protocol_family: NodeProtocolFamily,
pub modal: bool,
pub parent: Option<NodeRelationInfo>,
pub transient_for: Option<NodeRelationInfo>,
pub child_popup_count: usize,
pub pos_x: f32,
pub pos_y: f32,
pub width: f32,
pub height: f32,
}Fields§
§id: u64Stable session-scoped node id. Halley does not recycle node ids during a compositor run, so scripts can safely correlate parent/transient relationships against this handle.
title: String§app_id: Option<String>§output: Option<String>§kind: NodeKind§state: NodeState§visible: bool§focused: bool§latest: bool§role: NodeRole§protocol_family: NodeProtocolFamily§modal: bool§parent: Option<NodeRelationInfo>§transient_for: Option<NodeRelationInfo>§child_popup_count: usize§pos_x: f32§pos_y: f32§width: f32§height: f32Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeInfo
impl<'de> Deserialize<'de> for NodeInfo
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 NodeInfo
impl RefUnwindSafe for NodeInfo
impl Send for NodeInfo
impl Sync for NodeInfo
impl Unpin for NodeInfo
impl UnsafeUnpin for NodeInfo
impl UnwindSafe for NodeInfo
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