Struct webrender::profiler::CpuFrameTimings
source · pub struct CpuFrameTimings {}
Fields§
§total: f64
§api_send: f64
§update_document: f64
§visibility: f64
§prepare: f64
§glyph_resolve: f64
§batching: f64
§frame_building_other: f64
§frame_send: f64
§uploads: f64
§gpu_cache: f64
§draw_calls: f64
§unknown: f64
Implementations§
source§impl CpuFrameTimings
impl CpuFrameTimings
pub fn new(counters: &[Counter]) -> Self
fn to_profiler_frame(&self) -> ProfilerFrame
Auto Trait Implementations§
impl Freeze for CpuFrameTimings
impl RefUnwindSafe for CpuFrameTimings
impl Send for CpuFrameTimings
impl Sync for CpuFrameTimings
impl Unpin for CpuFrameTimings
impl UnwindSafe for CpuFrameTimings
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> 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