pub enum NumberSelectData {
Int {
value: i64,
step: i64,
max: i64,
min: i64,
},
Float {
value: f64,
step: f64,
max: f64,
min: f64,
decimals: u8,
},
}
Expand description
The value inside a number select and the limits of that value
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NumberSelectData
impl Clone for NumberSelectData
Source§fn clone(&self) -> NumberSelectData
fn clone(&self) -> NumberSelectData
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 moreSource§impl Debug for NumberSelectData
impl Debug for NumberSelectData
Source§impl Default for NumberSelectData
impl Default for NumberSelectData
Source§fn default() -> NumberSelectData
fn default() -> NumberSelectData
Returns the “default value” for a type. Read more
impl Copy for NumberSelectData
Auto Trait Implementations§
impl Freeze for NumberSelectData
impl RefUnwindSafe for NumberSelectData
impl Send for NumberSelectData
impl Sync for NumberSelectData
impl Unpin for NumberSelectData
impl UnwindSafe for NumberSelectData
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