pub struct DifferentialConfig {
pub enabled: bool,
pub max_region_age: Duration,
pub max_dirty_regions: usize,
pub min_region_area: u16,
pub enable_region_merging: bool,
pub full_refresh_interval: Duration,
}Expand description
Configuration for the differential rendering system
Fields§
§enabled: boolEnable differential rendering
max_region_age: DurationMaximum age of dirty regions before forced refresh
max_dirty_regions: usizeMaximum number of dirty regions to track
min_region_area: u16Minimum area required to track a region
enable_region_merging: boolEnable region merging optimization
full_refresh_interval: DurationForce full refresh interval
Trait Implementations§
Source§impl Clone for DifferentialConfig
impl Clone for DifferentialConfig
Source§fn clone(&self) -> DifferentialConfig
fn clone(&self) -> DifferentialConfig
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 DifferentialConfig
impl Debug for DifferentialConfig
Auto Trait Implementations§
impl Freeze for DifferentialConfig
impl RefUnwindSafe for DifferentialConfig
impl Send for DifferentialConfig
impl Sync for DifferentialConfig
impl Unpin for DifferentialConfig
impl UnsafeUnpin for DifferentialConfig
impl UnwindSafe for DifferentialConfig
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