pub enum AnimatorError<K> {
EmptyStateFrames(K),
MissingStateFrames(K),
UnsortedStateFrames(K),
InvalidStateFrameProgress(K, f32),
}
Expand description
A animator error
Variants§
EmptyStateFrames(K)
The state machine contains a state with no frames.
MissingStateFrames(K)
The state machine contains a state without any frames.
UnsortedStateFrames(K)
The state frames should be sorted by progress.
InvalidStateFrameProgress(K, f32)
The state frame progress is invalid.
Trait Implementations§
Source§impl<K: Clone> Clone for AnimatorError<K>
impl<K: Clone> Clone for AnimatorError<K>
Source§fn clone(&self) -> AnimatorError<K>
fn clone(&self) -> AnimatorError<K>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<K: Debug> Debug for AnimatorError<K>
impl<K: Debug> Debug for AnimatorError<K>
Source§impl<K: PartialEq> PartialEq for AnimatorError<K>
impl<K: PartialEq> PartialEq for AnimatorError<K>
impl<K> StructuralPartialEq for AnimatorError<K>
Auto Trait Implementations§
impl<K> Freeze for AnimatorError<K>where
K: Freeze,
impl<K> RefUnwindSafe for AnimatorError<K>where
K: RefUnwindSafe,
impl<K> Send for AnimatorError<K>where
K: Send,
impl<K> Sync for AnimatorError<K>where
K: Sync,
impl<K> Unpin for AnimatorError<K>where
K: Unpin,
impl<K> UnwindSafe for AnimatorError<K>where
K: UnwindSafe,
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