pub struct BoundedInterval<T> { /* private fields */ }Expand description
Interval represented by its lower and upper bounds.
Trait Implementations§
Source§impl<T> Add<T> for BoundedInterval<T>
impl<T> Add<T> for BoundedInterval<T>
Source§impl<T: Clone> Clone for BoundedInterval<T>
impl<T: Clone> Clone for BoundedInterval<T>
Source§fn clone(&self) -> BoundedInterval<T>
fn clone(&self) -> BoundedInterval<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T> From<BoundedInterval<T>> for CenteredInterval<T>
impl<T> From<BoundedInterval<T>> for CenteredInterval<T>
Source§fn from(interval: BoundedInterval<T>) -> Self
fn from(interval: BoundedInterval<T>) -> Self
Converts to this type from the input type.
Source§impl<T> From<CenteredInterval<T>> for BoundedInterval<T>
impl<T> From<CenteredInterval<T>> for BoundedInterval<T>
Source§fn from(interval: CenteredInterval<T>) -> Self
fn from(interval: CenteredInterval<T>) -> Self
Converts to this type from the input type.
Source§impl<T> Interval<T> for BoundedInterval<T>
impl<T> Interval<T> for BoundedInterval<T>
Source§impl<T> Mul<T> for BoundedInterval<T>
impl<T> Mul<T> for BoundedInterval<T>
Source§impl<T> PartialEq for BoundedInterval<T>
impl<T> PartialEq for BoundedInterval<T>
Source§impl<T> PartialEq<T> for BoundedInterval<T>
impl<T> PartialEq<T> for BoundedInterval<T>
Source§impl<T: PartialOrd<T>> PartialOrd for BoundedInterval<T>
impl<T: PartialOrd<T>> PartialOrd for BoundedInterval<T>
Source§impl<T: PartialOrd<T>> PartialOrd<T> for BoundedInterval<T>
impl<T: PartialOrd<T>> PartialOrd<T> for BoundedInterval<T>
Auto Trait Implementations§
impl<T> Freeze for BoundedInterval<T>where
T: Freeze,
impl<T> RefUnwindSafe for BoundedInterval<T>where
T: RefUnwindSafe,
impl<T> Send for BoundedInterval<T>where
T: Send,
impl<T> Sync for BoundedInterval<T>where
T: Sync,
impl<T> Unpin for BoundedInterval<T>where
T: Unpin,
impl<T> UnsafeUnpin for BoundedInterval<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for BoundedInterval<T>where
T: 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