pub enum AnimationNumber {
Number(f64),
Indefinite(AnimationIndefinite),
}Expand description
A finite quantity or an indefinite duration/repetition. Percentages are fractions.
Variants§
Number(f64)
Indefinite(AnimationIndefinite)
Trait Implementations§
Source§impl Clone for AnimationNumber
impl Clone for AnimationNumber
Source§impl Debug for AnimationNumber
impl Debug for AnimationNumber
Source§impl<'de> Deserialize<'de> for AnimationNumber
impl<'de> Deserialize<'de> for AnimationNumber
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for AnimationNumber
impl Freeze for AnimationNumber
impl RefUnwindSafe for AnimationNumber
impl Send for AnimationNumber
impl Sync for AnimationNumber
impl Unpin for AnimationNumber
impl UnsafeUnpin for AnimationNumber
impl UnwindSafe for AnimationNumber
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