pub enum AnimError {
FailAddingAnimation(usize),
FailGettingGlyph(usize),
FailAddingFrame(usize),
ResultReceiverNotSet,
FrameNotFound,
UnableToOpenFile,
UnableToReadFile,
UnableToBuildGraphicFromFile,
}Expand description
Defines errors returned when library is not used as expected.
Variants§
FailAddingAnimation(usize)
FailGettingGlyph(usize)
FailAddingFrame(usize)
ResultReceiverNotSet
FrameNotFound
UnableToOpenFile
UnableToReadFile
UnableToBuildGraphicFromFile
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AnimError
impl RefUnwindSafe for AnimError
impl Send for AnimError
impl Sync for AnimError
impl Unpin for AnimError
impl UnwindSafe for AnimError
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