pub struct Preferences {
pub(crate) bool_prefs: RwLock<HashMap<String, bool>>,
pub(crate) i32_prefs: RwLock<HashMap<String, i32>>,
}
Fields§
§bool_prefs: RwLock<HashMap<String, bool>>
§i32_prefs: RwLock<HashMap<String, i32>>
Implementations§
Trait Implementations§
source§impl Debug for Preferences
impl Debug for Preferences
source§impl Default for Preferences
impl Default for Preferences
source§fn default() -> Preferences
fn default() -> Preferences
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for Preferences
impl RefUnwindSafe for Preferences
impl Send for Preferences
impl Sync for Preferences
impl Unpin for Preferences
impl UnwindSafe for Preferences
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