pub enum AnimationEvents {
AnimationCanceled(AnimationCanceled),
AnimationCreated(AnimationCreated),
AnimationStarted(AnimationStarted),
AnimationUpdated(AnimationUpdated),
}Variants§
AnimationCanceled(AnimationCanceled)
AnimationCreated(AnimationCreated)
AnimationStarted(AnimationStarted)
AnimationUpdated(AnimationUpdated)
Implementations§
Source§impl AnimationEvents
impl AnimationEvents
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for AnimationEvents
impl Clone for AnimationEvents
Source§fn clone(&self) -> AnimationEvents
fn clone(&self) -> AnimationEvents
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 moreSource§impl Debug for AnimationEvents
impl Debug for AnimationEvents
Source§impl<'de> Deserialize<'de> for AnimationEvents
impl<'de> Deserialize<'de> for AnimationEvents
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
Source§impl From<AnimationCanceled> for AnimationEvents
impl From<AnimationCanceled> for AnimationEvents
Source§fn from(v: AnimationCanceled) -> Self
fn from(v: AnimationCanceled) -> Self
Converts to this type from the input type.
Source§impl From<AnimationCreated> for AnimationEvents
impl From<AnimationCreated> for AnimationEvents
Source§fn from(v: AnimationCreated) -> Self
fn from(v: AnimationCreated) -> Self
Converts to this type from the input type.
Source§impl From<AnimationEvents> for BrowserProtocolEvents
impl From<AnimationEvents> for BrowserProtocolEvents
Source§fn from(v: AnimationEvents) -> Self
fn from(v: AnimationEvents) -> Self
Converts to this type from the input type.
Source§impl From<AnimationEvents> for Event
impl From<AnimationEvents> for Event
Source§fn from(v: AnimationEvents) -> Self
fn from(v: AnimationEvents) -> Self
Converts to this type from the input type.
Source§impl From<AnimationStarted> for AnimationEvents
impl From<AnimationStarted> for AnimationEvents
Source§fn from(v: AnimationStarted) -> Self
fn from(v: AnimationStarted) -> Self
Converts to this type from the input type.
Source§impl From<AnimationUpdated> for AnimationEvents
impl From<AnimationUpdated> for AnimationEvents
Source§fn from(v: AnimationUpdated) -> Self
fn from(v: AnimationUpdated) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AnimationEvents
impl PartialEq for AnimationEvents
Source§impl Serialize for AnimationEvents
impl Serialize for AnimationEvents
Source§impl TryFrom<AnimationEvents> for AnimationCanceled
impl TryFrom<AnimationEvents> for AnimationCanceled
Source§type Error = AnimationEvents
type Error = AnimationEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: AnimationEvents,
) -> Result<Self, <AnimationCanceled as TryFrom<AnimationEvents>>::Error>
fn try_from( e: AnimationEvents, ) -> Result<Self, <AnimationCanceled as TryFrom<AnimationEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<AnimationEvents> for AnimationCreated
impl TryFrom<AnimationEvents> for AnimationCreated
Source§type Error = AnimationEvents
type Error = AnimationEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: AnimationEvents,
) -> Result<Self, <AnimationCreated as TryFrom<AnimationEvents>>::Error>
fn try_from( e: AnimationEvents, ) -> Result<Self, <AnimationCreated as TryFrom<AnimationEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<AnimationEvents> for AnimationStarted
impl TryFrom<AnimationEvents> for AnimationStarted
Source§type Error = AnimationEvents
type Error = AnimationEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: AnimationEvents,
) -> Result<Self, <AnimationStarted as TryFrom<AnimationEvents>>::Error>
fn try_from( e: AnimationEvents, ) -> Result<Self, <AnimationStarted as TryFrom<AnimationEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<AnimationEvents> for AnimationUpdated
impl TryFrom<AnimationEvents> for AnimationUpdated
Source§type Error = AnimationEvents
type Error = AnimationEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: AnimationEvents,
) -> Result<Self, <AnimationUpdated as TryFrom<AnimationEvents>>::Error>
fn try_from( e: AnimationEvents, ) -> Result<Self, <AnimationUpdated as TryFrom<AnimationEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolEvents> for AnimationEvents
impl TryFrom<BrowserProtocolEvents> for AnimationEvents
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <AnimationEvents as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <AnimationEvents as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for AnimationEvents
impl TryFrom<Event> for AnimationEvents
impl StructuralPartialEq for AnimationEvents
Auto Trait Implementations§
impl Freeze for AnimationEvents
impl RefUnwindSafe for AnimationEvents
impl Send for AnimationEvents
impl Sync for AnimationEvents
impl Unpin for AnimationEvents
impl UnsafeUnpin for AnimationEvents
impl UnwindSafe for AnimationEvents
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