pub enum Bound<T>where
T: Copy,{
Finite(T),
PosInf,
}
Expand description
The upper bound for each Histogram
bins. The user is responsible for
determining effective bins for their use-case.
Variants§
Finite(T)
A finite upper bound.
PosInf
A positively infinite upper bound. We cheat when doing ordering and say that PosInf == PosInf. This is not strictly true but it’s true enough for us.
Trait Implementations§
Source§impl<T> PartialOrd for Bound<T>where
T: Copy + PartialOrd,
impl<T> PartialOrd for Bound<T>where
T: Copy + PartialOrd,
impl<T> Copy for Bound<T>
Auto Trait Implementations§
impl<T> Freeze for Bound<T>where
T: Freeze,
impl<T> RefUnwindSafe for Bound<T>where
T: RefUnwindSafe,
impl<T> Send for Bound<T>where
T: Send,
impl<T> Sync for Bound<T>where
T: Sync,
impl<T> Unpin for Bound<T>where
T: Unpin,
impl<T> UnwindSafe for Bound<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