pub struct FrameDiagnosticsSnapshot {
pub fps: f32,
pub average_frame_ms: f32,
pub p95_frame_ms: f32,
pub sample_count: usize,
pub latest: Option<FrameSample>,
}Fields§
§fps: f32§average_frame_ms: f32§p95_frame_ms: f32§sample_count: usize§latest: Option<FrameSample>Trait Implementations§
Source§impl Clone for FrameDiagnosticsSnapshot
impl Clone for FrameDiagnosticsSnapshot
Source§impl Debug for FrameDiagnosticsSnapshot
impl Debug for FrameDiagnosticsSnapshot
Auto Trait Implementations§
impl Forget for FrameDiagnosticsSnapshot
impl Freeze for FrameDiagnosticsSnapshot
impl Move for FrameDiagnosticsSnapshot
impl RefUnwindSafe for FrameDiagnosticsSnapshot
impl Send for FrameDiagnosticsSnapshot
impl Sync for FrameDiagnosticsSnapshot
impl Unpin for FrameDiagnosticsSnapshot
impl UnsafeUnpin for FrameDiagnosticsSnapshot
impl UnwindSafe for FrameDiagnosticsSnapshot
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