pub enum AnimationType {
CssTransition,
CssAnimation,
WebAnimation,
Unrecognized(String),
}Expand description
The values type accepts on Animation.
Variants§
CssTransition
CSSTransition
CssAnimation
CSSAnimation
WebAnimation
WebAnimation
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for AnimationType
impl Clone for AnimationType
Source§impl Debug for AnimationType
impl Debug for AnimationType
Source§impl<'de> Deserialize<'de> for AnimationType
impl<'de> Deserialize<'de> for AnimationType
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
impl Eq for AnimationType
Source§impl Hash for AnimationType
impl Hash for AnimationType
Source§impl PartialEq for AnimationType
impl PartialEq for AnimationType
Source§impl Serialize for AnimationType
impl Serialize for AnimationType
impl StructuralPartialEq for AnimationType
Auto Trait Implementations§
impl Forget for AnimationType
impl Freeze for AnimationType
impl RefUnwindSafe for AnimationType
impl Send for AnimationType
impl Sync for AnimationType
impl Unpin for AnimationType
impl UnsafeUnpin for AnimationType
impl UnwindSafe for AnimationType
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