Enum AnimationProgress
#[repr(u8)]pub enum AnimationProgress {
None = 0,
Minimum = 3,
Cancel = 4,
Reset = 5,
NoData = 6,
Unknown(u8),
}Expand description
Animation progress.
Variants§
None = 0
None.
Minimum = 3
Stopped animation with reaching minimum of first trigger point or tooltip time.
Cancel = 4
Stopped animation without reaching minimum of first trigger point or tooltip time.
Reset = 5
Animation completed fully.
NoData = 6
Same as Minimum but on 0/uncertain expected duration.
Unknown(u8)
Unknown or invalid.
Trait Implementations§
§impl Clone for AnimationProgress
impl Clone for AnimationProgress
§fn clone(&self) -> AnimationProgress
fn clone(&self) -> AnimationProgress
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 more§impl Debug for AnimationProgress
impl Debug for AnimationProgress
§impl<'de> Deserialize<'de> for AnimationProgress
impl<'de> Deserialize<'de> for AnimationProgress
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnimationProgress, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnimationProgress, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Display for AnimationProgress
impl Display for AnimationProgress
§impl EnumCount for AnimationProgress
impl EnumCount for AnimationProgress
§impl<'_derivative_strum> From<&'_derivative_strum AnimationProgress> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum AnimationProgress> for &'static str
§fn from(x: &'_derivative_strum AnimationProgress) -> &'static str
fn from(x: &'_derivative_strum AnimationProgress) -> &'static str
Converts to this type from the input type.
§impl From<AnimationProgress> for &'static str
impl From<AnimationProgress> for &'static str
§fn from(x: AnimationProgress) -> &'static str
fn from(x: AnimationProgress) -> &'static str
Converts to this type from the input type.
§impl From<u8> for AnimationProgress
impl From<u8> for AnimationProgress
§fn from(number: u8) -> AnimationProgress
fn from(number: u8) -> AnimationProgress
Converts to this type from the input type.
§impl FromPrimitive for AnimationProgress
impl FromPrimitive for AnimationProgress
type Primitive = u8
fn from_primitive( number: <AnimationProgress as FromPrimitive>::Primitive, ) -> AnimationProgress
§impl Hash for AnimationProgress
impl Hash for AnimationProgress
§impl IntoEnumIterator for AnimationProgress
impl IntoEnumIterator for AnimationProgress
type Iterator = AnimationProgressIter
fn iter() -> AnimationProgressIter ⓘ
§impl Ord for AnimationProgress
impl Ord for AnimationProgress
§fn cmp(&self, other: &AnimationProgress) -> Ordering
fn cmp(&self, other: &AnimationProgress) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for AnimationProgress
impl PartialEq for AnimationProgress
§impl PartialOrd for AnimationProgress
impl PartialOrd for AnimationProgress
§impl Serialize for AnimationProgress
impl Serialize for AnimationProgress
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl VariantNames for AnimationProgress
impl VariantNames for AnimationProgress
impl Copy for AnimationProgress
impl Eq for AnimationProgress
impl StructuralPartialEq for AnimationProgress
Auto Trait Implementations§
impl Freeze for AnimationProgress
impl RefUnwindSafe for AnimationProgress
impl Send for AnimationProgress
impl Sync for AnimationProgress
impl Unpin for AnimationProgress
impl UnsafeUnpin for AnimationProgress
impl UnwindSafe for AnimationProgress
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