pub struct DecodedGif {
pub width: u32,
pub height: u32,
pub frames: Vec<GifFrame>,
pub loop_count: u32,
}Expand description
A decoded GIF with potentially multiple frames for animation.
Fields§
§width: u32Logical screen width.
height: u32Logical screen height.
frames: Vec<GifFrame>Decoded frames (at least one for static GIFs).
loop_count: u32Number of times to loop (0 = infinite).
Trait Implementations§
Source§impl Clone for DecodedGif
impl Clone for DecodedGif
Source§fn clone(&self) -> DecodedGif
fn clone(&self) -> DecodedGif
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DecodedGif
impl Debug for DecodedGif
Source§impl PartialEq for DecodedGif
impl PartialEq for DecodedGif
impl StructuralPartialEq for DecodedGif
Auto Trait Implementations§
impl Freeze for DecodedGif
impl RefUnwindSafe for DecodedGif
impl Send for DecodedGif
impl Sync for DecodedGif
impl Unpin for DecodedGif
impl UnwindSafe for DecodedGif
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)