pub struct DecodedAnimation {
pub width: usize,
pub height: usize,
pub background_color: u32,
pub loop_count: u16,
pub frames: Vec<DecodedAnimationFrame>,
}Expand description
Decoded animated WebP sequence.
Fields§
§width: usizeCanvas width in pixels.
height: usizeCanvas height in pixels.
background_color: u32Canvas background color in little-endian ARGB order.
loop_count: u16Loop count from the container. 0 means infinite loop.
frames: Vec<DecodedAnimationFrame>Composited frames in display order.
Trait Implementations§
Source§impl Clone for DecodedAnimation
impl Clone for DecodedAnimation
Source§fn clone(&self) -> DecodedAnimation
fn clone(&self) -> DecodedAnimation
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 DecodedAnimation
impl Debug for DecodedAnimation
Source§impl PartialEq for DecodedAnimation
impl PartialEq for DecodedAnimation
impl Eq for DecodedAnimation
impl StructuralPartialEq for DecodedAnimation
Auto Trait Implementations§
impl Freeze for DecodedAnimation
impl RefUnwindSafe for DecodedAnimation
impl Send for DecodedAnimation
impl Sync for DecodedAnimation
impl Unpin for DecodedAnimation
impl UnsafeUnpin for DecodedAnimation
impl UnwindSafe for DecodedAnimation
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