Trait script::dom::bindings::codegen::Bindings::HashChangeEventBinding::HashChangeEvent_Binding::HashChangeEventMethods
source · pub trait HashChangeEventMethods<D: DomTypes> {
// Required methods
fn OldURL(&self) -> USVString;
fn NewURL(&self) -> USVString;
fn IsTrusted(&self) -> bool;
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
type_: DOMString,
eventInitDict: &HashChangeEventInit,
) -> Result<Root<Dom<HashChangeEvent>>, Error>;
}
Required Methods§
fn OldURL(&self) -> USVString
fn NewURL(&self) -> USVString
fn IsTrusted(&self) -> bool
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &HashChangeEventInit, ) -> Result<Root<Dom<HashChangeEvent>>, Error>
Object Safety§
This trait is not object safe.