pub struct Range { /* private fields */ }Expand description
This is a simple ‘range’ class for a single dimension
min <= max for a valid range; min > max indicates an empty range
Implementations§
Source§impl Range
impl Range
Trait Implementations§
Source§impl AddAssign<f64> for Range
impl AddAssign<f64> for Range
Source§fn add_assign(&mut self, delta: f64)
fn add_assign(&mut self, delta: f64)
Performs the
+= operation. Read moreSource§impl DivAssign<f64> for Range
impl DivAssign<f64> for Range
Source§fn div_assign(&mut self, scale: f64)
fn div_assign(&mut self, scale: f64)
Performs the
/= operation. Read moreSource§impl MulAssign<f64> for Range
impl MulAssign<f64> for Range
Source§fn mul_assign(&mut self, scale: f64)
fn mul_assign(&mut self, scale: f64)
Performs the
*= operation. Read moreSource§impl SubAssign<f64> for Range
impl SubAssign<f64> for Range
Source§fn sub_assign(&mut self, delta: f64)
fn sub_assign(&mut self, delta: f64)
Performs the
-= operation. Read moreimpl Copy for Range
impl StructuralPartialEq for Range
Auto Trait Implementations§
impl Freeze for Range
impl RefUnwindSafe for Range
impl Send for Range
impl Sync for Range
impl Unpin for Range
impl UnwindSafe for Range
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