Enum winit::platform::web::BadAnimation
source · pub enum BadAnimation {
Empty,
Animation,
}
Available on
web_platform
only.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)>
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