pub struct ValueRange {
pub min: i32,
pub max: i32,
pub step: i32,
}Expand description
The structure expresses the range of available value in the state of control element with step to change it.
Fields§
§min: i32The minimum value in the state of control element.
max: i32The maximum value in the state of control element.
step: i32The step of value in the state of control element.
Trait Implementations§
Source§impl Clone for ValueRange
impl Clone for ValueRange
Source§fn clone(&self) -> ValueRange
fn clone(&self) -> ValueRange
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 ValueRange
impl Debug for ValueRange
Source§impl Default for ValueRange
impl Default for ValueRange
Source§fn default() -> ValueRange
fn default() -> ValueRange
Returns the “default value” for a type. Read more
Source§impl PartialEq for ValueRange
impl PartialEq for ValueRange
Source§impl RangeUtil<i32> for ValueRange
impl RangeUtil<i32> for ValueRange
impl Copy for ValueRange
impl Eq for ValueRange
impl StructuralPartialEq for ValueRange
Auto Trait Implementations§
impl Freeze for ValueRange
impl RefUnwindSafe for ValueRange
impl Send for ValueRange
impl Sync for ValueRange
impl Unpin for ValueRange
impl UnwindSafe for ValueRange
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