pub struct FpsStats {
pub fps: f32,
pub avg_ms: f32,
pub frame_count: u64,
pub recompositions: u64,
pub recomps_per_second: u64,
}Expand description
Frame statistics snapshot.
Fields§
§fps: f32Current FPS (frames per second)
avg_ms: f32Average frame time in milliseconds
frame_count: u64Total frame count since start
recompositions: u64Total recomposition count since start
recomps_per_second: u64Recompositions in the last second
Trait Implementations§
impl Copy for FpsStats
Auto Trait Implementations§
impl Freeze for FpsStats
impl RefUnwindSafe for FpsStats
impl Send for FpsStats
impl Sync for FpsStats
impl Unpin for FpsStats
impl UnwindSafe for FpsStats
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