pub struct AnimationCostRecord {
pub id: AnimationId,
pub label: Option<String>,
pub update_time_ms: f32,
}Expand description
Per-animation update cost retained by the performance monitor.
Fields§
§id: AnimationIdStable animation id.
label: Option<String>Optional label.
update_time_ms: f32Update cost in milliseconds.
Trait Implementations§
Source§impl Clone for AnimationCostRecord
impl Clone for AnimationCostRecord
Source§fn clone(&self) -> AnimationCostRecord
fn clone(&self) -> AnimationCostRecord
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 AnimationCostRecord
impl Debug for AnimationCostRecord
Source§impl PartialEq for AnimationCostRecord
impl PartialEq for AnimationCostRecord
impl StructuralPartialEq for AnimationCostRecord
Auto Trait Implementations§
impl Freeze for AnimationCostRecord
impl RefUnwindSafe for AnimationCostRecord
impl Send for AnimationCostRecord
impl Sync for AnimationCostRecord
impl Unpin for AnimationCostRecord
impl UnsafeUnpin for AnimationCostRecord
impl UnwindSafe for AnimationCostRecord
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