#[repr(transparent)]pub struct IMG_AnimationDecoderStatus(pub c_int);Expand description
An enum representing the status of an animation decoder.
Available Since: This enum is available since SDL_image 3.4.0.
Tuple Fields§
§0: c_intImplementations§
Source§impl IMG_AnimationDecoderStatus
impl IMG_AnimationDecoderStatus
Sourcepub const IMG_DECODER_STATUS_INVALID: IMG_AnimationDecoderStatus
pub const IMG_DECODER_STATUS_INVALID: IMG_AnimationDecoderStatus
< The decoder is invalid
Sourcepub const IMG_DECODER_STATUS_OK: IMG_AnimationDecoderStatus
pub const IMG_DECODER_STATUS_OK: IMG_AnimationDecoderStatus
< The decoder is ready to decode the next frame
Sourcepub const IMG_DECODER_STATUS_FAILED: IMG_AnimationDecoderStatus
pub const IMG_DECODER_STATUS_FAILED: IMG_AnimationDecoderStatus
< The decoder failed to decode a frame, call SDL_GetError() for more information.
Sourcepub const IMG_DECODER_STATUS_COMPLETE: IMG_AnimationDecoderStatus
pub const IMG_DECODER_STATUS_COMPLETE: IMG_AnimationDecoderStatus
< No more frames available
Trait Implementations§
Source§impl Clone for IMG_AnimationDecoderStatus
impl Clone for IMG_AnimationDecoderStatus
Source§fn clone(&self) -> IMG_AnimationDecoderStatus
fn clone(&self) -> IMG_AnimationDecoderStatus
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 IMG_AnimationDecoderStatus
impl Debug for IMG_AnimationDecoderStatus
Source§impl Hash for IMG_AnimationDecoderStatus
impl Hash for IMG_AnimationDecoderStatus
impl Copy for IMG_AnimationDecoderStatus
impl Eq for IMG_AnimationDecoderStatus
impl StructuralPartialEq for IMG_AnimationDecoderStatus
Auto Trait Implementations§
impl Freeze for IMG_AnimationDecoderStatus
impl RefUnwindSafe for IMG_AnimationDecoderStatus
impl Send for IMG_AnimationDecoderStatus
impl Sync for IMG_AnimationDecoderStatus
impl Unpin for IMG_AnimationDecoderStatus
impl UnsafeUnpin for IMG_AnimationDecoderStatus
impl UnwindSafe for IMG_AnimationDecoderStatus
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