pub struct GifFrame {
pub image: DecodedImage,
pub delay_cs: u16,
pub disposal: GifDisposal,
}Expand description
A single GIF animation frame.
Fields§
§image: DecodedImageRGBA8888 pixel data for the full logical screen.
delay_cs: u16Delay in hundredths of a second (0 = no delay).
disposal: GifDisposalDisposal method for this frame.
Trait Implementations§
impl StructuralPartialEq for GifFrame
Auto Trait Implementations§
impl Freeze for GifFrame
impl RefUnwindSafe for GifFrame
impl Send for GifFrame
impl Sync for GifFrame
impl Unpin for GifFrame
impl UnwindSafe for GifFrame
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)