pub struct Prefs {
pub default_device: Option<DefaultDevice>,
}Expand description
Persisted tool preferences. Deliberately tiny: setting = value
lines with # comments, the same vocabulary the provisioning file
uses, and no dependency to read it.
Fields§
§default_device: Option<DefaultDevice>Implementations§
Trait Implementations§
impl Eq for Prefs
impl StructuralPartialEq for Prefs
Auto Trait Implementations§
impl Freeze for Prefs
impl RefUnwindSafe for Prefs
impl Send for Prefs
impl Sync for Prefs
impl Unpin for Prefs
impl UnwindSafe for Prefs
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)