pub trait PageTransitionEventMethods<D: DomTypes> {
// Required methods
fn Persisted(&self) -> bool;
fn IsTrusted(&self) -> bool;
fn Constructor(
cx: &mut JSContext,
global: &D::Window,
proto: Option<HandleObject<'_>>,
type_: DOMString,
eventInitDict: &PageTransitionEventInit,
) -> Fallible<DomRoot<D::PageTransitionEvent>>;
}Required Methods§
fn Persisted(&self) -> bool
fn IsTrusted(&self) -> bool
fn Constructor( cx: &mut JSContext, global: &D::Window, proto: Option<HandleObject<'_>>, type_: DOMString, eventInitDict: &PageTransitionEventInit, ) -> Fallible<DomRoot<D::PageTransitionEvent>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".