pub enum BadAnimation {
Empty,
Animation,
}
Expand description
An error produced when using CustomCursor::from_animation
with invalid arguments.
Variants§
Empty
Produced when no cursors were supplied.
Animation
Produced when a supplied cursor is an animation.
Trait Implementations§
Source§impl Clone for BadAnimation
impl Clone for BadAnimation
Source§fn clone(&self) -> BadAnimation
fn clone(&self) -> BadAnimation
Returns a copy 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 Debug for BadAnimation
impl Debug for BadAnimation
Source§impl Display for BadAnimation
impl Display for BadAnimation
Source§impl Error for BadAnimation
impl Error for BadAnimation
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for BadAnimation
impl RefUnwindSafe for BadAnimation
impl Send for BadAnimation
impl Sync for BadAnimation
impl Unpin for BadAnimation
impl UnwindSafe for BadAnimation
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