pub enum FocusRecoveryResult {
Unchanged,
Moved {
previous: Option<NodeId>,
next: NodeId,
modality: FocusModality,
focus_visible: bool,
},
Cleared {
previous: NodeId,
},
}Expand description
Outcome of post-commit focus reconciliation.
Variants§
Unchanged
Focused node (or lack of focus) remains valid; no focus move required.
Moved
Focus moved deterministically to a surviving target node.
Cleared
Previous focused node became invalid and no focusable target exists in the active scope.
Trait Implementations§
Source§impl Clone for FocusRecoveryResult
impl Clone for FocusRecoveryResult
impl Copy for FocusRecoveryResult
Source§impl Debug for FocusRecoveryResult
impl Debug for FocusRecoveryResult
impl Eq for FocusRecoveryResult
Source§impl PartialEq for FocusRecoveryResult
impl PartialEq for FocusRecoveryResult
impl StructuralPartialEq for FocusRecoveryResult
Auto Trait Implementations§
impl Forget for FocusRecoveryResult
impl Freeze for FocusRecoveryResult
impl Move for FocusRecoveryResult
impl RefUnwindSafe for FocusRecoveryResult
impl Send for FocusRecoveryResult
impl Sync for FocusRecoveryResult
impl Unpin for FocusRecoveryResult
impl UnsafeUnpin for FocusRecoveryResult
impl UnwindSafe for FocusRecoveryResult
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