pub struct InteractionChange<'a> {
pub dirty: &'a [NodeId],
pub relayout: bool,
}Expand description
One pseudo-state change (*_in_store): the nodes whose pseudo-state changed, and whether it
re-ran layout (paragraph StateRules, StateRules box patches, top-layer re-hoisting).
Retained hosts must sync layout changes (changed_rects() / incremental layout delta or full
scene resync) when relayout is set; otherwise repainting dirty suffices.
Fields§
§dirty: &'a [NodeId]§relayout: boolTrait Implementations§
Source§impl<'a> Clone for InteractionChange<'a>
impl<'a> Clone for InteractionChange<'a>
impl<'a> Copy for InteractionChange<'a>
Auto Trait Implementations§
impl<'a> Forget for InteractionChange<'a>
impl<'a> Freeze for InteractionChange<'a>
impl<'a> Move for InteractionChange<'a>
impl<'a> RefUnwindSafe for InteractionChange<'a>
impl<'a> Send for InteractionChange<'a>
impl<'a> Sync for InteractionChange<'a>
impl<'a> Unpin for InteractionChange<'a>
impl<'a> UnsafeUnpin for InteractionChange<'a>where
&'a [NodeId]: UnsafeUnpin,
impl<'a> UnwindSafe for InteractionChange<'a>where
&'a [NodeId]: UnwindSafe,
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