pub struct InitOptions {
pub loop_count: u32,
pub background: Option<RGBA>,
pub animation: bool,
}Expand description
Decoder initialization options.
Fields§
§loop_count: u32§background: Option<RGBA>§animation: boolTrait Implementations§
Source§impl Clone for InitOptions
impl Clone for InitOptions
Source§fn clone(&self) -> InitOptions
fn clone(&self) -> InitOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InitOptions
impl Debug for InitOptions
Source§impl PartialEq for InitOptions
impl PartialEq for InitOptions
impl Eq for InitOptions
impl StructuralPartialEq for InitOptions
Auto Trait Implementations§
impl Freeze for InitOptions
impl RefUnwindSafe for InitOptions
impl Send for InitOptions
impl Sync for InitOptions
impl Unpin for InitOptions
impl UnsafeUnpin for InitOptions
impl UnwindSafe for InitOptions
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