pub enum ImageRepetition {
Once,
Times(u32),
Forever,
}Expand description
How an animation repeats once it has played through.
Dart counts this as an integer, with minus one meaning forever and zero meaning once.
Variants§
Once
Play once and stop, which is also what a still image does.
Times(u32)
Play this many more times after the first pass.
Forever
Never stop, which is what most animated files ask for.
Trait Implementations§
Source§impl Clone for ImageRepetition
impl Clone for ImageRepetition
impl Copy for ImageRepetition
Source§impl Debug for ImageRepetition
impl Debug for ImageRepetition
Source§impl Default for ImageRepetition
impl Default for ImageRepetition
impl Eq for ImageRepetition
Source§impl PartialEq for ImageRepetition
impl PartialEq for ImageRepetition
impl StructuralPartialEq for ImageRepetition
Auto Trait Implementations§
impl Freeze for ImageRepetition
impl RefUnwindSafe for ImageRepetition
impl Send for ImageRepetition
impl Sync for ImageRepetition
impl Unpin for ImageRepetition
impl UnsafeUnpin for ImageRepetition
impl UnwindSafe for ImageRepetition
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.