pub struct GifDecodedFrame { /* private fields */ }Expand description
Single fully composited GIF frame accompanied by its disposal-aware dirty rectangle.
Implementations§
Source§impl GifDecodedFrame
impl GifDecodedFrame
pub fn get_frame_index(&self) -> usize
pub fn get_mut_frame_index(&mut self) -> &mut usize
pub fn set_frame_index(&mut self, val: usize) -> &mut Self
pub fn get_image(&self) -> &ImageBuffer
pub fn get_mut_image(&mut self) -> &mut ImageBuffer
pub fn set_image(&mut self, val: ImageBuffer) -> &mut Self
pub fn get_delay_ms(&self) -> u32
pub fn get_mut_delay_ms(&mut self) -> &mut u32
pub fn set_delay_ms(&mut self, val: u32) -> &mut Self
pub fn get_timestamp_secs(&self) -> f32
pub fn get_mut_timestamp_secs(&mut self) -> &mut f32
pub fn set_timestamp_secs(&mut self, val: f32) -> &mut Self
pub fn get_dirty_rect(&self) -> GifDirtyRect
pub fn get_mut_dirty_rect(&mut self) -> &mut GifDirtyRect
pub fn set_dirty_rect(&mut self, val: GifDirtyRect) -> &mut Self
pub fn get_disposal(&self) -> GifDisposalMethod
pub fn get_mut_disposal(&mut self) -> &mut GifDisposalMethod
pub fn set_disposal(&mut self, val: GifDisposalMethod) -> &mut Self
Trait Implementations§
Source§impl Clone for GifDecodedFrame
impl Clone for GifDecodedFrame
Source§impl Debug for GifDecodedFrame
impl Debug for GifDecodedFrame
Source§impl Default for GifDecodedFrame
impl Default for GifDecodedFrame
Source§impl PartialEq for GifDecodedFrame
impl PartialEq for GifDecodedFrame
impl StructuralPartialEq for GifDecodedFrame
Auto Trait Implementations§
impl Forget for GifDecodedFrame
impl Freeze for GifDecodedFrame
impl Move for GifDecodedFrame
impl RefUnwindSafe for GifDecodedFrame
impl Send for GifDecodedFramewhere
RawVecInner: Send,
impl Sync for GifDecodedFramewhere
RawVecInner: Sync,
impl Unpin for GifDecodedFrame
impl UnsafeUnpin for GifDecodedFrame
impl UnwindSafe for GifDecodedFramewhere
RawVecInner: UnwindSafe,
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