pub enum Dirty {
Clean,
Paint,
Layout,
}Expand description
How much of a node is out of date.
The variants are ordered, and Dirty::Layout implies Dirty::Paint. A
node’s flag only ever rises within a frame.
Variants§
Clean
Nothing about the node changed since the last frame.
Paint
The node’s paint output must be regenerated. Its layout is current.
Layout
The node must be laid out again, which repaints it as well.
Trait Implementations§
impl Copy for Dirty
impl Eq for Dirty
Source§impl Ord for Dirty
impl Ord for Dirty
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Dirty
impl PartialOrd for Dirty
impl StructuralPartialEq for Dirty
Auto Trait Implementations§
impl Forget for Dirty
impl Freeze for Dirty
impl Move for Dirty
impl RefUnwindSafe for Dirty
impl Send for Dirty
impl Sync for Dirty
impl Unpin for Dirty
impl UnsafeUnpin for Dirty
impl UnwindSafe for Dirty
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