pub struct DoubleSetting {
pub name: &'static str,
pub setting_type: &'static str,
pub default_value: f64,
pub minimum_value: Option<f64>,
pub maximum_value: Option<f64>,
}Fields§
§name: &'static strInternal mod-namespaced name.
setting_type: &'static strWhen the setting takes effect: "startup", "runtime-global", or "runtime-per-user".
default_value: f64The default value for this setting.
minimum_value: Option<f64>Optional minimum allowed value.
maximum_value: Option<f64>Optional maximum allowed value.
Auto Trait Implementations§
impl Freeze for DoubleSetting
impl RefUnwindSafe for DoubleSetting
impl Send for DoubleSetting
impl Sync for DoubleSetting
impl Unpin for DoubleSetting
impl UnsafeUnpin for DoubleSetting
impl UnwindSafe for DoubleSetting
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