[−]Struct augdom::event::Storage
A storage area (localStorage or sessionStorage) has changed. MDN documentation
Methods from Deref<Target = StorageEvent>
pub fn init_storage_event(&self, type_: &str)
[src]
The initStorageEvent()
method
This API requires the following crate features to be activated: StorageEvent
pub fn init_storage_event_with_can_bubble(&self, type_: &str, can_bubble: bool)
[src]
The initStorageEvent()
method
This API requires the following crate features to be activated: StorageEvent
pub fn init_storage_event_with_can_bubble_and_cancelable(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool
)
[src]
&self,
type_: &str,
can_bubble: bool,
cancelable: bool
)
The initStorageEvent()
method
This API requires the following crate features to be activated: StorageEvent
pub fn init_storage_event_with_can_bubble_and_cancelable_and_key(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
key: Option<&str>
)
[src]
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
key: Option<&str>
)
The initStorageEvent()
method
This API requires the following crate features to be activated: StorageEvent
pub fn init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
key: Option<&str>,
old_value: Option<&str>
)
[src]
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
key: Option<&str>,
old_value: Option<&str>
)
The initStorageEvent()
method
This API requires the following crate features to be activated: StorageEvent
pub fn init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
key: Option<&str>,
old_value: Option<&str>,
new_value: Option<&str>
)
[src]
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
key: Option<&str>,
old_value: Option<&str>,
new_value: Option<&str>
)
The initStorageEvent()
method
This API requires the following crate features to be activated: StorageEvent
pub fn init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_and_url(
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
key: Option<&str>,
old_value: Option<&str>,
new_value: Option<&str>,
url: Option<&str>
)
[src]
&self,
type_: &str,
can_bubble: bool,
cancelable: bool,
key: Option<&str>,
old_value: Option<&str>,
new_value: Option<&str>,
url: Option<&str>
)
The initStorageEvent()
method
This API requires the following crate features to be activated: StorageEvent
pub fn key(&self) -> Option<String>
[src]
The key
getter
This API requires the following crate features to be activated: StorageEvent
pub fn old_value(&self) -> Option<String>
[src]
The oldValue
getter
This API requires the following crate features to be activated: StorageEvent
pub fn new_value(&self) -> Option<String>
[src]
The newValue
getter
This API requires the following crate features to be activated: StorageEvent
pub fn url(&self) -> Option<String>
[src]
The url
getter
This API requires the following crate features to be activated: StorageEvent
Trait Implementations
impl Event for Storage
[src]
impl AsRef<Event> for Storage
[src]
impl AsRef<JsValue> for Storage
[src]
impl From<Storage> for JsValue
[src]
impl Deref for Storage
[src]
type Target = StorageEvent
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl RefFromWasmAbi for Storage
[src]
type Abi = u32
The wasm ABI type references to Self
are recovered from.
type Anchor = Ref<'static, Storage>
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
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
[src]
impl FromWasmAbi for Storage
[src]
type Abi = u32
The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more
unsafe fn from_abi(js: u32) -> Self
[src]
impl IntoWasmAbi for Storage
[src]
type Abi = u32
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self) -> u32
[src]
impl WasmDescribe for Storage
[src]
impl OptionFromWasmAbi for Storage
[src]
impl OptionIntoWasmAbi for Storage
[src]
impl RefMutFromWasmAbi for Storage
[src]
type Abi = u32
Same as RefFromWasmAbi::Abi
type Anchor = RefMut<'static, Storage>
Same as RefFromWasmAbi::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
[src]
impl JsCast for Storage
[src]
fn instanceof(val: &JsValue) -> bool
[src]
fn unchecked_from_js(val: JsValue) -> Self
[src]
fn unchecked_from_js_ref(_val: &JsValue) -> &Self
[src]
fn has_type<T>(&self) -> bool where
T: JsCast,
[src]
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self> where
T: JsCast,
[src]
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T> where
T: JsCast,
[src]
T: JsCast,
fn unchecked_into<T>(self) -> T where
T: JsCast,
[src]
T: JsCast,
fn unchecked_ref<T>(&self) -> &T where
T: JsCast,
[src]
T: JsCast,
fn is_instance_of<T>(&self) -> bool where
T: JsCast,
[src]
T: JsCast,
fn is_type_of(val: &JsValue) -> bool
[src]
Auto Trait Implementations
impl !Send for Storage
impl !Sync for Storage
impl Unpin for Storage
impl UnwindSafe for Storage
impl RefUnwindSafe for Storage
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
[src]
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi