pub struct ConfigNumericControl {
pub min: Option<f64>,
pub max: Option<f64>,
pub step: Option<f64>,
pub soft_min: Option<f64>,
pub soft_max: Option<f64>,
pub unit: Option<String>,
}Fields§
§min: Option<f64>§max: Option<f64>§step: Option<f64>§soft_min: Option<f64>§soft_max: Option<f64>§unit: Option<String>Trait Implementations§
Source§impl Clone for ConfigNumericControl
impl Clone for ConfigNumericControl
Source§fn clone(&self) -> ConfigNumericControl
fn clone(&self) -> ConfigNumericControl
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 ConfigNumericControl
impl Debug for ConfigNumericControl
Source§impl Default for ConfigNumericControl
impl Default for ConfigNumericControl
Source§fn default() -> ConfigNumericControl
fn default() -> ConfigNumericControl
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigNumericControl
impl<'de> Deserialize<'de> for ConfigNumericControl
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
Source§impl PartialEq for ConfigNumericControl
impl PartialEq for ConfigNumericControl
Source§impl Serialize for ConfigNumericControl
impl Serialize for ConfigNumericControl
impl StructuralPartialEq for ConfigNumericControl
Auto Trait Implementations§
impl Freeze for ConfigNumericControl
impl RefUnwindSafe for ConfigNumericControl
impl Send for ConfigNumericControl
impl Sync for ConfigNumericControl
impl Unpin for ConfigNumericControl
impl UnsafeUnpin for ConfigNumericControl
impl UnwindSafe for ConfigNumericControl
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