pub struct SettingsState {
pub name: String,
pub label: String,
pub kind: &'static str,
pub between: Vec<String>,
pub values: Vec<SettingState>,
}Expand description
Settings as an editor lists them.
Fields§
§name: String§label: String§kind: &'static str§between: Vec<String>§values: Vec<SettingState>Trait Implementations§
Source§impl Clone for SettingsState
impl Clone for SettingsState
Source§fn clone(&self) -> SettingsState
fn clone(&self) -> SettingsState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SettingsState
impl Debug for SettingsState
Source§impl PartialEq for SettingsState
impl PartialEq for SettingsState
Source§impl Serialize for SettingsState
impl Serialize for SettingsState
impl StructuralPartialEq for SettingsState
Auto Trait Implementations§
impl Freeze for SettingsState
impl RefUnwindSafe for SettingsState
impl Send for SettingsState
impl Sync for SettingsState
impl Unpin for SettingsState
impl UnsafeUnpin for SettingsState
impl UnwindSafe for SettingsState
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