pub struct FloatField {
pub name: String,
pub value: f64,
pub min: Option<f64>,
pub max: Option<f64>,
pub step: f64,
pub precision: usize,
}Expand description
A floating-point number field.
Fields§
§name: String§value: f64§min: Option<f64>§max: Option<f64>§step: f64§precision: usizeImplementations§
Trait Implementations§
Source§impl Clone for FloatField
impl Clone for FloatField
Source§fn clone(&self) -> FloatField
fn clone(&self) -> FloatField
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FloatField
impl RefUnwindSafe for FloatField
impl Send for FloatField
impl Sync for FloatField
impl Unpin for FloatField
impl UnsafeUnpin for FloatField
impl UnwindSafe for FloatField
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