[]Struct moxie_dom::prelude::event::HashChange

pub struct HashChange(_);

The fragment identifier of the URL has changed (the part of the URL after the #). MDN documentation

Methods from Deref<Target = HashChangeEvent>

pub fn old_url(&self) -> String[src]

Getter for the oldURL field of this object.

MDN Documentation

This API requires the following crate features to be activated: HashChangeEvent

pub fn new_url(&self) -> String[src]

Getter for the newURL field of this object.

MDN Documentation

This API requires the following crate features to be activated: HashChangeEvent

pub fn init_hash_change_event(&self, type_arg: &str)[src]

The initHashChangeEvent() method.

MDN Documentation

This API requires the following crate features to be activated: HashChangeEvent

pub fn init_hash_change_event_with_can_bubble_arg(
    &self,
    type_arg: &str,
    can_bubble_arg: bool
)
[src]

The initHashChangeEvent() method.

MDN Documentation

This API requires the following crate features to be activated: HashChangeEvent

pub fn init_hash_change_event_with_can_bubble_arg_and_cancelable_arg(
    &self,
    type_arg: &str,
    can_bubble_arg: bool,
    cancelable_arg: bool
)
[src]

The initHashChangeEvent() method.

MDN Documentation

This API requires the following crate features to be activated: HashChangeEvent

pub fn init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_and_old_url_arg(
    &self,
    type_arg: &str,
    can_bubble_arg: bool,
    cancelable_arg: bool,
    old_url_arg: &str
)
[src]

The initHashChangeEvent() method.

MDN Documentation

This API requires the following crate features to be activated: HashChangeEvent

pub fn init_hash_change_event_with_can_bubble_arg_and_cancelable_arg_and_old_url_arg_and_new_url_arg(
    &self,
    type_arg: &str,
    can_bubble_arg: bool,
    cancelable_arg: bool,
    old_url_arg: &str,
    new_url_arg: &str
)
[src]

The initHashChangeEvent() method.

MDN Documentation

This API requires the following crate features to be activated: HashChangeEvent

Trait Implementations

impl AsRef<Event> for HashChange[src]

impl AsRef<JsValue> for HashChange[src]

impl Debug for HashChange[src]

impl Deref for HashChange[src]

type Target = HashChangeEvent

The resulting type after dereferencing.

impl Event for HashChange[src]

type Builder = HashChangeBuilder

The builder type returned by new().

impl EventTarget<HashChange> for BodyBuilder[src]

impl From<HashChange> for JsValue[src]

impl FromWasmAbi for HashChange[src]

type Abi = u32

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for HashChange[src]

type Abi = u32

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for HashChange[src]

impl OptionFromWasmAbi for HashChange[src]

impl OptionIntoWasmAbi for HashChange[src]

impl RefFromWasmAbi for HashChange[src]

type Abi = u32

The wasm ABI type references to Self are recovered from.

type Anchor = Ref<'static, HashChange>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl RefMutFromWasmAbi for HashChange[src]

type Abi = u32

Same as RefFromWasmAbi::Abi

type Anchor = RefMut<'static, HashChange>

Same as RefFromWasmAbi::Anchor

Auto Trait Implementations

impl RefUnwindSafe for HashChange

impl !Send for HashChange

impl !Sync for HashChange

impl Unpin for HashChange

impl UnwindSafe for HashChange

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsContext for T where
    T: Debug + 'static, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pretty for T where
    T: AsRef<JsValue>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.