pub struct GifDecodeConfig { /* private fields */ }Expand description
Decoding budgets and frame-delay compatibility policy for pure-Rust GIF87a/GIF89a playback.
Implementations§
Source§impl GifDecodeConfig
impl GifDecodeConfig
pub fn get_max_canvas_bytes(&self) -> usize
pub fn get_mut_max_canvas_bytes(&mut self) -> &mut usize
pub fn set_max_canvas_bytes(&mut self, val: usize) -> &mut Self
pub fn get_max_cache_bytes(&self) -> usize
pub fn get_mut_max_cache_bytes(&mut self) -> &mut usize
pub fn set_max_cache_bytes(&mut self, val: usize) -> &mut Self
pub fn get_max_predecode_frames(&self) -> usize
pub fn get_mut_max_predecode_frames(&mut self) -> &mut usize
pub fn set_max_predecode_frames(&mut self, val: usize) -> &mut Self
pub fn get_min_delay_ms(&self) -> u32
pub fn get_mut_min_delay_ms(&mut self) -> &mut u32
pub fn set_min_delay_ms(&mut self, val: u32) -> &mut Self
pub fn get_zero_delay_fallback_ms(&self) -> u32
pub fn get_mut_zero_delay_fallback_ms(&mut self) -> &mut u32
pub fn set_zero_delay_fallback_ms(&mut self, val: u32) -> &mut Self
pub fn get_strict_delays(&self) -> bool
pub fn get_mut_strict_delays(&mut self) -> &mut bool
pub fn set_strict_delays(&mut self, val: bool) -> &mut Self
Trait Implementations§
Source§impl Clone for GifDecodeConfig
impl Clone for GifDecodeConfig
impl Copy for GifDecodeConfig
Source§impl Debug for GifDecodeConfig
impl Debug for GifDecodeConfig
Source§impl Default for GifDecodeConfig
Default bounded decoding budgets and browser-compatible frame-delay policy for GifDecodeConfig.
impl Default for GifDecodeConfig
Default bounded decoding budgets and browser-compatible frame-delay policy for GifDecodeConfig.
impl Eq for GifDecodeConfig
Source§impl Hash for GifDecodeConfig
impl Hash for GifDecodeConfig
Source§impl PartialEq for GifDecodeConfig
impl PartialEq for GifDecodeConfig
impl StructuralPartialEq for GifDecodeConfig
Auto Trait Implementations§
impl Forget for GifDecodeConfig
impl Freeze for GifDecodeConfig
impl Move for GifDecodeConfig
impl RefUnwindSafe for GifDecodeConfig
impl Send for GifDecodeConfig
impl Sync for GifDecodeConfig
impl Unpin for GifDecodeConfig
impl UnsafeUnpin for GifDecodeConfig
impl UnwindSafe for GifDecodeConfig
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