pub struct AnimationId(/* private fields */);Expand description
An opaque handle to an animation registered with AnimationDriver.
Returned by AnimationDriver::add. Use it to cancel or query animations.
Trait Implementations§
Source§impl Clone for AnimationId
impl Clone for AnimationId
Source§fn clone(&self) -> AnimationId
fn clone(&self) -> AnimationId
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 AnimationId
impl Debug for AnimationId
Source§impl Hash for AnimationId
impl Hash for AnimationId
Source§impl PartialEq for AnimationId
impl PartialEq for AnimationId
Source§fn eq(&self, other: &AnimationId) -> bool
fn eq(&self, other: &AnimationId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AnimationId
impl Eq for AnimationId
impl StructuralPartialEq for AnimationId
Auto Trait Implementations§
impl Freeze for AnimationId
impl RefUnwindSafe for AnimationId
impl Send for AnimationId
impl Sync for AnimationId
impl Unpin for AnimationId
impl UnsafeUnpin for AnimationId
impl UnwindSafe for AnimationId
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