pub(crate) trait HashChangeEventMethods<D: DomTypes> {
    // Required methods
    fn OldURL(&self) -> USVString;
    fn NewURL(&self) -> USVString;
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &D::Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        eventInitDict: &HashChangeEventInit,
    ) -> Fallible<DomRoot<D::HashChangeEvent>>;
}

Required Methods§

Source

fn OldURL(&self) -> USVString

Source

fn NewURL(&self) -> USVString

Source

fn IsTrusted(&self) -> bool

Source

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

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§