pub struct PrefsRow {
pub id: String,
pub label: Option<String>,
pub hint: Option<String>,
pub warning: Option<String>,
pub disabled: Option<String>,
pub changed: Option<bool>,
pub default_label: Option<String>,
pub control: Option<Control>,
}Expand description
A prefs row.
Fields§
§id: StringRow id.
label: Option<String>Label.
hint: Option<String>A line under the label.
warning: Option<String>A warning.
disabled: Option<String>Why it is disabled.
changed: Option<bool>Changed from default.
default_label: Option<String>The default, named in the changed dot’s tooltip.
control: Option<Control>The control.
Trait Implementations§
impl StructuralPartialEq for PrefsRow
Auto Trait Implementations§
impl Freeze for PrefsRow
impl RefUnwindSafe for PrefsRow
impl Send for PrefsRow
impl Sync for PrefsRow
impl Unpin for PrefsRow
impl UnsafeUnpin for PrefsRow
impl UnwindSafe for PrefsRow
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