pub struct LocalStorageImpl { /* private fields */ }Available on crate feature
local_storage_impl only.Expand description
Implementations§
Trait Implementations§
Source§impl Debug for LocalStorageImpl
impl Debug for LocalStorageImpl
Source§impl Default for LocalStorageImpl
impl Default for LocalStorageImpl
Source§fn default() -> LocalStorageImpl
fn default() -> LocalStorageImpl
Returns the “default value” for a type. Read more
Source§impl Fork for LocalStorageImpl
impl Fork for LocalStorageImpl
Source§impl Join for LocalStorageImpl
impl Join for LocalStorageImpl
Source§impl LocalStorage for LocalStorageImpl
impl LocalStorage for LocalStorageImpl
Source§fn get<T>(&self) -> Option<&T>where
T: 'static,
fn get<T>(&self) -> Option<&T>where
T: 'static,
Gets reference of a value with type
T from storage if it is present. Read moreSource§fn get_mut<T>(&mut self) -> Option<&mut T>where
T: 'static,
fn get_mut<T>(&mut self) -> Option<&mut T>where
T: 'static,
Gets mutable reference of a value with type
T from storage if it is present. Read moreSource§impl Update for LocalStorageImpl
impl Update for LocalStorageImpl
Source§fn update_from(&mut self, other: Self)
fn update_from(&mut self, other: Self)
Auto Trait Implementations§
impl Freeze for LocalStorageImpl
impl !RefUnwindSafe for LocalStorageImpl
impl Send for LocalStorageImpl
impl !Sync for LocalStorageImpl
impl Unpin for LocalStorageImpl
impl !UnwindSafe for LocalStorageImpl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more