pub enum AnimationValue {
String(String),
Boolean(bool),
Integer(i32),
Number(f64),
Color(ColorValue),
Point(AnimationPoint),
RgbDelta([f64; 3]),
HslDelta([f64; 3]),
}Variants§
String(String)
Boolean(bool)
Integer(i32)
Number(f64)
Color(ColorValue)
Point(AnimationPoint)
RgbDelta([f64; 3])
HslDelta([f64; 3])
Trait Implementations§
Source§impl Clone for AnimationValue
impl Clone for AnimationValue
Source§impl Debug for AnimationValue
impl Debug for AnimationValue
Source§impl<'de> Deserialize<'de> for AnimationValue
impl<'de> Deserialize<'de> for AnimationValue
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 AnimationValue
impl Freeze for AnimationValue
impl RefUnwindSafe for AnimationValue
impl Send for AnimationValue
impl Sync for AnimationValue
impl Unpin for AnimationValue
impl UnsafeUnpin for AnimationValue
impl UnwindSafe for AnimationValue
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