pub enum Invalidation {
Layout,
Paint,
HitTest,
HitTestOnly,
}Variants§
Layout
Paint
HitTest
HitTestOnly
Recompute hit-testing and repaint, without forcing a layout pass.
This is intended for state changes that affect coordinate mapping (e.g. scrolling) but do not change layout geometry.
Trait Implementations§
Source§impl Clone for Invalidation
impl Clone for Invalidation
Source§fn clone(&self) -> Invalidation
fn clone(&self) -> Invalidation
Returns a duplicate of the value. Read more
1.0.0 · 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 Invalidation
impl Debug for Invalidation
Source§impl PartialEq for Invalidation
impl PartialEq for Invalidation
impl Copy for Invalidation
impl Eq for Invalidation
impl StructuralPartialEq for Invalidation
Auto Trait Implementations§
impl Freeze for Invalidation
impl RefUnwindSafe for Invalidation
impl Send for Invalidation
impl Sync for Invalidation
impl Unpin for Invalidation
impl UnsafeUnpin for Invalidation
impl UnwindSafe for Invalidation
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