pub struct Telemetry;
Implementations§
source§impl Telemetry
impl Telemetry
Defines the interface for hooking up an external telemetry reporter to WR.
pub fn record_rasterize_blobs_time(_duration: Duration)
pub fn start_framebuild_time() -> TimerId
pub fn stop_and_accumulate_framebuild_time(_id: TimerId)
pub fn record_renderer_time(_duration: Duration)
pub fn record_renderer_time_no_sc(_duration: Duration)
pub fn record_scenebuild_time(_duration: Duration)
pub fn start_sceneswap_time() -> TimerId
pub fn stop_and_accumulate_sceneswap_time(_id: TimerId)
pub fn cancel_sceneswap_time(_id: TimerId)
pub fn record_texture_cache_update_time(_duration: Duration)
pub fn record_time_to_frame_build(_duration: Duration)
Auto Trait Implementations§
impl Freeze for Telemetry
impl RefUnwindSafe for Telemetry
impl Send for Telemetry
impl Sync for Telemetry
impl Unpin for Telemetry
impl UnwindSafe for Telemetry
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