pub struct A11yChanges {
pub changed: Vec<WidgetId>,
pub roots_changed: bool,
pub reset: bool,
}Expand description
The projected nodes that changed since the last frame.
The backend rebuilds the nodes the changed ids project; reset says the
projection must be rebuilt from scratch instead, which happens when too
many changes queued in one frame. The ids name widgets that are alive,
visible and projected at the moment this value is taken, and each appears
once; a widget that a frame removes or hides drops out on its own, and the
change to its parent’s child list is what takes it off the tree.
Fields§
§changed: Vec<WidgetId>The widgets whose projected nodes must be rebuilt, children included.
roots_changed: boolWhether the list of projected nodes with no projected ancestor may have changed, which the backend’s own root holds as its children.
reset: boolWhether the whole projection must be rebuilt from scratch.
Trait Implementations§
Source§impl Clone for A11yChanges
impl Clone for A11yChanges
Source§impl Debug for A11yChanges
impl Debug for A11yChanges
Source§impl Default for A11yChanges
impl Default for A11yChanges
impl Eq for A11yChanges
Source§impl PartialEq for A11yChanges
impl PartialEq for A11yChanges
impl StructuralPartialEq for A11yChanges
Auto Trait Implementations§
impl Forget for A11yChanges
impl Freeze for A11yChanges
impl Move for A11yChanges
impl RefUnwindSafe for A11yChanges
impl Send for A11yChanges
impl Sync for A11yChanges
impl Unpin for A11yChanges
impl UnsafeUnpin for A11yChanges
impl UnwindSafe for A11yChanges
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