pub(crate) trait AnimationEventMethods<D: DomTypes> {
    // Required methods
    fn AnimationName(&self) -> DOMString;
    fn ElapsedTime(&self) -> Finite<f32>;
    fn PseudoElement(&self) -> DOMString;
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &D::Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        eventInitDict: &AnimationEventInit,
    ) -> DomRoot<D::AnimationEvent>;
}

Required Methods§

Source

fn AnimationName(&self) -> DOMString

Source

fn ElapsedTime(&self) -> Finite<f32>

Source

fn PseudoElement(&self) -> DOMString

Source

fn IsTrusted(&self) -> bool

Source

fn Constructor( global: &D::Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &AnimationEventInit, ) -> DomRoot<D::AnimationEvent>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§