Enum LoopCount
pub enum LoopCount
Number of times that an animation loops.
Variants
-
Forever The animation loops forever.
-
Times(NonZeroU16) Each frame of the animation is displayed the specified number of times.
Trait Implementations
impl Clone for LoopCount
fn clone(&self) -> LoopCount
impl Copy for LoopCount
impl Debug for LoopCount
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for LoopCount
impl PartialEq for LoopCount
fn eq(&self, other: &LoopCount) -> bool
impl StructuralPartialEq for LoopCount
Auto Trait Implementations
impl Freeze for LoopCount
impl RefUnwindSafe for LoopCount
impl Send for LoopCount
impl Sync for LoopCount
impl Unpin for LoopCount
impl UnsafeUnpin for LoopCount
impl UnwindSafe for LoopCount
Blanket Implementations
impl<T> Any for LoopCount
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for LoopCount
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for LoopCount
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for LoopCount
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for LoopCount
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for LoopCount
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for LoopCount
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for LoopCount
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for LoopCount
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>