pub struct GifEncodeFrameInput { /* private fields */ }Expand description
Frame specification consumed by GifEncoder::encode to emit valid spec-compliant GIF89a LZW byte streams.
Implementations§
Source§impl GifEncodeFrameInput
Optional field accessors for GifEncodeFrameInput.
impl GifEncodeFrameInput
Optional field accessors for GifEncodeFrameInput.
Sourcepub const fn transparent_color_index(&self) -> Option<u8>
pub const fn transparent_color_index(&self) -> Option<u8>
Source§impl GifEncodeFrameInput
impl GifEncodeFrameInput
pub fn get_left(&self) -> u16
pub fn get_mut_left(&mut self) -> &mut u16
pub fn set_left(&mut self, val: u16) -> &mut Self
pub fn get_top(&self) -> u16
pub fn get_mut_top(&mut self) -> &mut u16
pub fn set_top(&mut self, val: u16) -> &mut Self
pub fn get_width(&self) -> u16
pub fn get_mut_width(&mut self) -> &mut u16
pub fn set_width(&mut self, val: u16) -> &mut Self
pub fn get_height(&self) -> u16
pub fn get_mut_height(&mut self) -> &mut u16
pub fn set_height(&mut self, val: u16) -> &mut Self
pub fn get_interlaced(&self) -> bool
pub fn get_mut_interlaced(&mut self) -> &mut bool
pub fn set_interlaced(&mut self, val: bool) -> &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
pub fn get_mut_transparent_index(&mut self) -> &mut Option<u8>
pub fn set_transparent_index(&mut self, val: Option<u8>) -> &mut Self
pub fn get_delay_cs(&self) -> u16
pub fn get_mut_delay_cs(&mut self) -> &mut u16
pub fn set_delay_cs(&mut self, val: u16) -> &mut Self
pub fn get_mut_local_palette(&mut self) -> &mut Option<Vec<[u8; 3]>>
pub fn set_local_palette(&mut self, val: Option<Vec<[u8; 3]>>) -> &mut Self
pub fn get_indices(&self) -> &Vec<u8> ⓘ
pub fn get_mut_indices(&mut self) -> &mut Vec<u8> ⓘ
pub fn set_indices(&mut self, val: Vec<u8>) -> &mut Self
Trait Implementations§
Source§impl Clone for GifEncodeFrameInput
impl Clone for GifEncodeFrameInput
Source§impl Debug for GifEncodeFrameInput
impl Debug for GifEncodeFrameInput
Source§impl Default for GifEncodeFrameInput
impl Default for GifEncodeFrameInput
Source§impl PartialEq for GifEncodeFrameInput
impl PartialEq for GifEncodeFrameInput
impl StructuralPartialEq for GifEncodeFrameInput
Auto Trait Implementations§
impl Forget for GifEncodeFrameInput
impl Freeze for GifEncodeFrameInput
impl Move for GifEncodeFrameInput
impl RefUnwindSafe for GifEncodeFrameInput
impl Send for GifEncodeFrameInputwhere
RawVecInner: Send,
impl Sync for GifEncodeFrameInputwhere
RawVecInner: Sync,
impl Unpin for GifEncodeFrameInput
impl UnsafeUnpin for GifEncodeFrameInputwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<[u8; 3]>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for GifEncodeFrameInputwhere
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