pub struct DriverSnapshot {
pub id: AnimationId,
pub label: Option<String>,
pub introspection: AnimationIntrospection,
}Expand description
Snapshot of one inspectable animation registered with AnimationDriver.
Fields§
§id: AnimationIdStable animation id returned by the driver.
label: Option<String>Optional user-facing label.
introspection: AnimationIntrospectionRuntime state reported by the animation.
Trait Implementations§
Source§impl Clone for DriverSnapshot
impl Clone for DriverSnapshot
Source§fn clone(&self) -> DriverSnapshot
fn clone(&self) -> DriverSnapshot
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 DriverSnapshot
impl Debug for DriverSnapshot
Source§impl PartialEq for DriverSnapshot
impl PartialEq for DriverSnapshot
Source§fn eq(&self, other: &DriverSnapshot) -> bool
fn eq(&self, other: &DriverSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DriverSnapshot
Auto Trait Implementations§
impl Freeze for DriverSnapshot
impl RefUnwindSafe for DriverSnapshot
impl Send for DriverSnapshot
impl Sync for DriverSnapshot
impl Unpin for DriverSnapshot
impl UnsafeUnpin for DriverSnapshot
impl UnwindSafe for DriverSnapshot
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