pub struct Saver<T> { /* private fields */ }Expand description
Converts a value to and from the string form preferences store.
A saver is deliberately explicit rather than derived: the stored form is a compatibility surface, and the framework will not guess it for you.
Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Saver<T>
impl<T> !Send for Saver<T>
impl<T> !Sync for Saver<T>
impl<T> !UnwindSafe for Saver<T>
impl<T> Freeze for Saver<T>
impl<T> Unpin for Saver<T>
impl<T> UnsafeUnpin for Saver<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