Trait TransitionEventMethods

Source
pub(crate) trait TransitionEventMethods<D>
where D: DomTypes,
{ // Required methods fn PropertyName(&self) -> DOMString; fn ElapsedTime(&self) -> Finite<f32>; fn PseudoElement(&self) -> DOMString; fn IsTrusted(&self) -> bool; fn Constructor( global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, type_: DOMString, transitionEventInitDict: &TransitionEventInit, ) -> Result<Root<Dom<<D as DomTypes>::TransitionEvent>>, Error>; }

Required Methods§

Source

fn PropertyName(&self) -> DOMString

Source

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

Source

fn PseudoElement(&self) -> DOMString

Source

fn IsTrusted(&self) -> bool

Source

fn Constructor( global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, type_: DOMString, transitionEventInitDict: &TransitionEventInit, ) -> Result<Root<Dom<<D as DomTypes>::TransitionEvent>>, Error>

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§