pub enum FrontendSettingKind {
Integer {
min: i64,
max: Option<i64>,
step: i64,
},
Select {
options: Vec<FrontendSettingOption>,
unset_label: Option<String>,
},
}Expand description
Generic control metadata for a schema-advertised setting.
Variants§
Trait Implementations§
Source§impl Clone for FrontendSettingKind
impl Clone for FrontendSettingKind
Source§fn clone(&self) -> FrontendSettingKind
fn clone(&self) -> FrontendSettingKind
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 FrontendSettingKind
impl Debug for FrontendSettingKind
Source§impl<'de> Deserialize<'de> for FrontendSettingKind
impl<'de> Deserialize<'de> for FrontendSettingKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FrontendSettingKind
Source§impl PartialEq for FrontendSettingKind
impl PartialEq for FrontendSettingKind
Source§impl Serialize for FrontendSettingKind
impl Serialize for FrontendSettingKind
impl StructuralPartialEq for FrontendSettingKind
Auto Trait Implementations§
impl Freeze for FrontendSettingKind
impl RefUnwindSafe for FrontendSettingKind
impl Send for FrontendSettingKind
impl Sync for FrontendSettingKind
impl Unpin for FrontendSettingKind
impl UnsafeUnpin for FrontendSettingKind
impl UnwindSafe for FrontendSettingKind
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