pub struct RenderCounters {
pub skipped_paints: u64,
pub tiles: f64,
pub observed_pixels: f64,
}Expand description
The pass-level counters a step changes, cumulative over the session.
Fields§
§skipped_paints: u64Placements the duplicate or fixed-region-unchanged shortcut did not paint.
tiles: f64Tiles first painted.
observed_pixels: f64Pixels first painted.
Trait Implementations§
Source§impl Clone for RenderCounters
impl Clone for RenderCounters
impl Copy for RenderCounters
Source§impl Debug for RenderCounters
impl Debug for RenderCounters
Source§impl Default for RenderCounters
impl Default for RenderCounters
Source§impl PartialEq for RenderCounters
impl PartialEq for RenderCounters
impl StructuralPartialEq for RenderCounters
Auto Trait Implementations§
impl Freeze for RenderCounters
impl RefUnwindSafe for RenderCounters
impl Send for RenderCounters
impl Sync for RenderCounters
impl Unpin for RenderCounters
impl UnsafeUnpin for RenderCounters
impl UnwindSafe for RenderCounters
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