pub struct Interval {
pub lo: f64,
pub lo_open: bool,
pub hi: f64,
pub hi_open: bool,
}Expand description
A numeric range with open or closed ends.
Fields§
§lo: f64§lo_open: bool§hi: f64§hi_open: boolImplementations§
Trait Implementations§
impl Copy for Interval
impl Eq for Interval
Auto Trait Implementations§
impl Freeze for Interval
impl RefUnwindSafe for Interval
impl Send for Interval
impl Sync for Interval
impl Unpin for Interval
impl UnsafeUnpin for Interval
impl UnwindSafe for Interval
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