pub struct Range2 {
pub min: u16,
pub max: u16,
pub step: u16,
}Expand description
Represents a range of 2-byte (u16) values.
Fields§
§min: u16Minimum value in the range.
max: u16Maximum value in the range.
step: u16Step size between values in the range.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Range2
impl RefUnwindSafe for Range2
impl Send for Range2
impl Sync for Range2
impl Unpin for Range2
impl UnwindSafe for Range2
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