pub struct NumberConstraints {
pub min: Option<f64>,
pub max: Option<f64>,
pub step: f64,
}Fields§
§min: Option<f64>§max: Option<f64>§step: f64Trait Implementations§
Source§impl Clone for NumberConstraints
impl Clone for NumberConstraints
Source§fn clone(&self) -> NumberConstraints
fn clone(&self) -> NumberConstraints
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 moreimpl Copy for NumberConstraints
Source§impl Debug for NumberConstraints
impl Debug for NumberConstraints
Source§impl Default for NumberConstraints
impl Default for NumberConstraints
Source§impl PartialEq for NumberConstraints
impl PartialEq for NumberConstraints
impl StructuralPartialEq for NumberConstraints
Auto Trait Implementations§
impl Freeze for NumberConstraints
impl RefUnwindSafe for NumberConstraints
impl Send for NumberConstraints
impl Sync for NumberConstraints
impl Unpin for NumberConstraints
impl UnsafeUnpin for NumberConstraints
impl UnwindSafe for NumberConstraints
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