pub struct Setting<T> { /* private fields */ }Expand description
Declaration of one setting: its key and its default, together.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Setting<T>
impl<T> RefUnwindSafe for Setting<T>
impl<T> Send for Setting<T>
impl<T> Sync for Setting<T>
impl<T> Unpin for Setting<T>
impl<T> UnsafeUnpin for Setting<T>
impl<T> UnwindSafe for Setting<T>
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