pub struct Interval<N>(/* private fields */);Implementations§
Trait Implementations§
Source§impl<N: Ord + Clone> From<RangeInclusive<N>> for Interval<N>
 
impl<N: Ord + Clone> From<RangeInclusive<N>> for Interval<N>
Source§fn from(range: RangeInclusive<N>) -> Self
 
fn from(range: RangeInclusive<N>) -> Self
Converts to this type from the input type.
Source§impl<N> RangeBounds<N> for Interval<N>
 
impl<N> RangeBounds<N> for Interval<N>
impl<N: Eq> Eq for Interval<N>
impl<N> StructuralPartialEq for Interval<N>
Auto Trait Implementations§
impl<N> Freeze for Interval<N>where
    N: Freeze,
impl<N> RefUnwindSafe for Interval<N>where
    N: RefUnwindSafe,
impl<N> Send for Interval<N>where
    N: Send,
impl<N> Sync for Interval<N>where
    N: Sync,
impl<N> Unpin for Interval<N>where
    N: Unpin,
impl<N> UnwindSafe for Interval<N>where
    N: UnwindSafe,
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