pub struct DecodedAnimationFrame {
pub duration: usize,
pub rgba: Vec<u8>,
}Expand description
One fully composited animation frame.
Fields§
§duration: usizeDisplay duration in milliseconds.
rgba: Vec<u8>Packed RGBA8 canvas pixels after compositing this frame.
Trait Implementations§
Source§impl Clone for DecodedAnimationFrame
impl Clone for DecodedAnimationFrame
Source§fn clone(&self) -> DecodedAnimationFrame
fn clone(&self) -> DecodedAnimationFrame
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 DecodedAnimationFrame
impl Debug for DecodedAnimationFrame
Source§impl PartialEq for DecodedAnimationFrame
impl PartialEq for DecodedAnimationFrame
impl Eq for DecodedAnimationFrame
impl StructuralPartialEq for DecodedAnimationFrame
Auto Trait Implementations§
impl Freeze for DecodedAnimationFrame
impl RefUnwindSafe for DecodedAnimationFrame
impl Send for DecodedAnimationFrame
impl Sync for DecodedAnimationFrame
impl Unpin for DecodedAnimationFrame
impl UnsafeUnpin for DecodedAnimationFrame
impl UnwindSafe for DecodedAnimationFrame
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