pub struct AnimationStats {
pub current_fps: f64,
pub average_frame_time_ms: f64,
pub target_fps: f64,
}Expand description
Animation statistics
Fields§
§current_fps: f64Current FPS
average_frame_time_ms: f64Average frame time in milliseconds
target_fps: f64Target FPS
Trait Implementations§
Source§impl Clone for AnimationStats
impl Clone for AnimationStats
Source§fn clone(&self) -> AnimationStats
fn clone(&self) -> AnimationStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnimationStats
impl Debug for AnimationStats
Source§impl<'de> Deserialize<'de> for AnimationStats
impl<'de> Deserialize<'de> for AnimationStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AnimationStats
impl Serialize for AnimationStats
impl Copy for AnimationStats
Auto Trait Implementations§
impl Freeze for AnimationStats
impl RefUnwindSafe for AnimationStats
impl Send for AnimationStats
impl Sync for AnimationStats
impl Unpin for AnimationStats
impl UnsafeUnpin for AnimationStats
impl UnwindSafe for AnimationStats
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