pub struct CpuFrameTimings {
pub total: f64,
pub api_send: f64,
pub update_document: f64,
pub visibility: f64,
pub prepare: f64,
pub glyph_resolve: f64,
pub batching: f64,
pub frame_building_other: f64,
pub frame_send: f64,
pub uploads: f64,
pub draw_calls: f64,
pub unknown: f64,
}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§draw_calls: f64§unknown: f64Implementations§
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 UnsafeUnpin 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