pub enum AppStorageStore<'a> {
Standard,
Suite(&'a str),
}Expand description
Where @AppStorage below this point reads and writes.
Variants§
Standard
UserDefaults.standard.
Suite(&'a str)
UserDefaults(suiteName:) — a shared container, usually.
Trait Implementations§
Source§impl<'a> Clone for AppStorageStore<'a>
impl<'a> Clone for AppStorageStore<'a>
impl<'a> Copy for AppStorageStore<'a>
Source§impl<'a> Debug for AppStorageStore<'a>
impl<'a> Debug for AppStorageStore<'a>
impl<'a> Eq for AppStorageStore<'a>
Source§impl<'a> PartialEq for AppStorageStore<'a>
impl<'a> PartialEq for AppStorageStore<'a>
impl<'a> StructuralPartialEq for AppStorageStore<'a>
Auto Trait Implementations§
impl<'a> Freeze for AppStorageStore<'a>
impl<'a> RefUnwindSafe for AppStorageStore<'a>
impl<'a> Send for AppStorageStore<'a>
impl<'a> Sync for AppStorageStore<'a>
impl<'a> Unpin for AppStorageStore<'a>
impl<'a> UnsafeUnpin for AppStorageStore<'a>
impl<'a> UnwindSafe for AppStorageStore<'a>
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