pub struct AnimationUpdateCost {
pub id: AnimationId,
pub label: Option<String>,
pub update_time_ms: f32,
}Expand description
Per-animation update cost produced by AnimationDriver::tick_profiled.
Fields§
§id: AnimationIdStable animation id returned by the driver.
label: Option<String>Optional user-facing label.
update_time_ms: f32Wall-clock time spent updating this animation.
Trait Implementations§
Source§impl Clone for AnimationUpdateCost
impl Clone for AnimationUpdateCost
Source§fn clone(&self) -> AnimationUpdateCost
fn clone(&self) -> AnimationUpdateCost
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 AnimationUpdateCost
impl Debug for AnimationUpdateCost
Source§impl PartialEq for AnimationUpdateCost
impl PartialEq for AnimationUpdateCost
Source§fn eq(&self, other: &AnimationUpdateCost) -> bool
fn eq(&self, other: &AnimationUpdateCost) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnimationUpdateCost
Auto Trait Implementations§
impl Freeze for AnimationUpdateCost
impl RefUnwindSafe for AnimationUpdateCost
impl Send for AnimationUpdateCost
impl Sync for AnimationUpdateCost
impl Unpin for AnimationUpdateCost
impl UnsafeUnpin for AnimationUpdateCost
impl UnwindSafe for AnimationUpdateCost
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