pub enum BadAnimation {
Empty,
Animation,
}Expand description
An error produced when using CustomCursorSource::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 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 Debug for BadAnimation
impl Debug for BadAnimation
Source§impl<'de> Deserialize<'de> for BadAnimation
impl<'de> Deserialize<'de> for BadAnimation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BadAnimation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BadAnimation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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()
Source§impl Hash for BadAnimation
impl Hash for BadAnimation
Source§impl PartialEq for BadAnimation
impl PartialEq for BadAnimation
Source§impl Serialize for BadAnimation
impl Serialize for BadAnimation
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for BadAnimation
impl Eq for BadAnimation
impl StructuralPartialEq for BadAnimation
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