pub struct FocusedContext {
pub element: ContextElement,
pub subtree: Vec<ContextElement>,
pub ancestor_path: Vec<String>,
}Expand description
High-fidelity context for a single element — the “zoom in” view.
Fields§
§element: ContextElementThe target element with full detail.
subtree: Vec<ContextElement>Children (preserves hierarchy, not flattened).
ancestor_path: Vec<String>Parent chain from root to this element: e.g. [“window:Title”, “group”, “toolbar”].
Trait Implementations§
Source§impl Clone for FocusedContext
impl Clone for FocusedContext
Source§fn clone(&self) -> FocusedContext
fn clone(&self) -> FocusedContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FocusedContext
impl Debug for FocusedContext
Source§impl<'de> Deserialize<'de> for FocusedContext
impl<'de> Deserialize<'de> for FocusedContext
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 FocusedContext
impl RefUnwindSafe for FocusedContext
impl Send for FocusedContext
impl Sync for FocusedContext
impl Unpin for FocusedContext
impl UnsafeUnpin for FocusedContext
impl UnwindSafe for FocusedContext
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