pub struct GifOptions {
pub width: u16,
pub height: u16,
pub has_global_palette: bool,
pub palette_size: u8,
}Expand description
Options for configuring the GIF output.
Fields§
§width: u16Width of the logical screen.
height: u16Height of the logical screen.
has_global_palette: boolWhether to include a global color table.
palette_size: u8Size of the palette as a power of 2 (2^(n+1)).
Auto Trait Implementations§
impl Freeze for GifOptions
impl RefUnwindSafe for GifOptions
impl Send for GifOptions
impl Sync for GifOptions
impl Unpin for GifOptions
impl UnwindSafe for GifOptions
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