pub enum PaintCachePolicy {
Auto,
Enabled,
Disabled,
}Variants§
Auto
Enable caching unless the UI is in an inspection/probe mode (e.g. picking, semantics).
Enabled
Always enable caching.
Disabled
Always disable caching.
Trait Implementations§
Source§impl Clone for PaintCachePolicy
impl Clone for PaintCachePolicy
Source§fn clone(&self) -> PaintCachePolicy
fn clone(&self) -> PaintCachePolicy
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 PaintCachePolicy
impl Debug for PaintCachePolicy
Source§impl Default for PaintCachePolicy
impl Default for PaintCachePolicy
Source§fn default() -> PaintCachePolicy
fn default() -> PaintCachePolicy
Returns the “default value” for a type. Read more
Source§impl PartialEq for PaintCachePolicy
impl PartialEq for PaintCachePolicy
impl Copy for PaintCachePolicy
impl Eq for PaintCachePolicy
impl StructuralPartialEq for PaintCachePolicy
Auto Trait Implementations§
impl Freeze for PaintCachePolicy
impl RefUnwindSafe for PaintCachePolicy
impl Send for PaintCachePolicy
impl Sync for PaintCachePolicy
impl Unpin for PaintCachePolicy
impl UnsafeUnpin for PaintCachePolicy
impl UnwindSafe for PaintCachePolicy
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