#[non_exhaustive]pub enum InterruptionReason {
Replaced,
Retargeted,
Removed,
}Expand description
Explains why an unfinished playback stopped.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Replaced
A new animation replaced the playback.
Retargeted
A transition retargeted the playback.
Removed
The owning motion was removed.
Trait Implementations§
Source§impl Clone for InterruptionReason
impl Clone for InterruptionReason
Source§fn clone(&self) -> InterruptionReason
fn clone(&self) -> InterruptionReason
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 moreimpl Copy for InterruptionReason
Source§impl Debug for InterruptionReason
impl Debug for InterruptionReason
impl Eq for InterruptionReason
Source§impl Hash for InterruptionReason
impl Hash for InterruptionReason
Source§impl PartialEq for InterruptionReason
impl PartialEq for InterruptionReason
impl StructuralPartialEq for InterruptionReason
Auto Trait Implementations§
impl Freeze for InterruptionReason
impl RefUnwindSafe for InterruptionReason
impl Send for InterruptionReason
impl Sync for InterruptionReason
impl Unpin for InterruptionReason
impl UnsafeUnpin for InterruptionReason
impl UnwindSafe for InterruptionReason
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