pub struct ImageAnimation {
pub frames: Vec<AnimationFrame>,
pub plays: AnimationPlays,
}Expand description
An animation: its frames and how many times it plays through them.
Fields§
§frames: Vec<AnimationFrame>Its frames, in order; two at least.
plays: AnimationPlaysTrait Implementations§
Source§impl Clone for ImageAnimation
impl Clone for ImageAnimation
Source§impl Debug for ImageAnimation
impl Debug for ImageAnimation
impl Eq for ImageAnimation
Source§impl PartialEq for ImageAnimation
impl PartialEq for ImageAnimation
impl StructuralPartialEq for ImageAnimation
Auto Trait Implementations§
impl Forget for ImageAnimation
impl Freeze for ImageAnimation
impl Move for ImageAnimation
impl RefUnwindSafe for ImageAnimation
impl Send for ImageAnimationwhere
RawVecInner: Send,
impl Sync for ImageAnimationwhere
RawVecInner: Sync,
impl Unpin for ImageAnimation
impl UnsafeUnpin for ImageAnimation
impl UnwindSafe for ImageAnimationwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.