pub struct DriverFrameProfile {
pub dt: f32,
pub total_update_time_ms: f32,
pub animation_costs: Vec<AnimationUpdateCost>,
}Expand description
Timing data produced by a profiled driver tick.
Fields§
§dt: f32Delta seconds passed to the tick.
total_update_time_ms: f32Total wall-clock update time for all active animations.
animation_costs: Vec<AnimationUpdateCost>Per-animation update costs.
Trait Implementations§
Source§impl Clone for DriverFrameProfile
impl Clone for DriverFrameProfile
Source§fn clone(&self) -> DriverFrameProfile
fn clone(&self) -> DriverFrameProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DriverFrameProfile
impl Debug for DriverFrameProfile
Source§impl Default for DriverFrameProfile
impl Default for DriverFrameProfile
Source§fn default() -> DriverFrameProfile
fn default() -> DriverFrameProfile
Returns the “default value” for a type. Read more
Source§impl PartialEq for DriverFrameProfile
impl PartialEq for DriverFrameProfile
Source§fn eq(&self, other: &DriverFrameProfile) -> bool
fn eq(&self, other: &DriverFrameProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DriverFrameProfile
Auto Trait Implementations§
impl Freeze for DriverFrameProfile
impl RefUnwindSafe for DriverFrameProfile
impl Send for DriverFrameProfile
impl Sync for DriverFrameProfile
impl Unpin for DriverFrameProfile
impl UnsafeUnpin for DriverFrameProfile
impl UnwindSafe for DriverFrameProfile
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