pub enum DirtyRegionSettings {
Default,
ReportOnly,
ReportAndRender,
}Expand description
Defines how the system should handle dirty regions, which are areas of the screen that have changed.
Variants§
Default
Use the system’s default behavior for dirty regions.
ReportOnly
Only report the dirty regions without rendering them separately.
ReportAndRender
Report and render the dirty regions.
Trait Implementations§
Source§impl Clone for DirtyRegionSettings
impl Clone for DirtyRegionSettings
Source§fn clone(&self) -> DirtyRegionSettings
fn clone(&self) -> DirtyRegionSettings
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 DirtyRegionSettings
impl Debug for DirtyRegionSettings
Source§impl PartialEq for DirtyRegionSettings
impl PartialEq for DirtyRegionSettings
impl Copy for DirtyRegionSettings
impl Eq for DirtyRegionSettings
impl StructuralPartialEq for DirtyRegionSettings
Auto Trait Implementations§
impl Freeze for DirtyRegionSettings
impl RefUnwindSafe for DirtyRegionSettings
impl Send for DirtyRegionSettings
impl Sync for DirtyRegionSettings
impl Unpin for DirtyRegionSettings
impl UnsafeUnpin for DirtyRegionSettings
impl UnwindSafe for DirtyRegionSettings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more