pub struct Animation {
pub frames: Vec<(RgbaImage, Duration)>,
pub loop_count: Option<u32>,
}Expand description
Decoded animation: per-frame RGBA + the delay until the next frame, plus the
loop count (None = infinite).
Fields§
§frames: Vec<(RgbaImage, Duration)>§loop_count: Option<u32>Auto Trait Implementations§
impl Freeze for Animation
impl RefUnwindSafe for Animation
impl Send for Animation
impl Sync for Animation
impl Unpin for Animation
impl UnsafeUnpin for Animation
impl UnwindSafe for Animation
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