Enum average::InvalidRangeError
source · pub enum InvalidRangeError {
NotEnoughRanges,
NotSorted,
NaN,
}Expand description
Invalid ranges were specified for constructing the histogram.
Variants§
NotEnoughRanges
The number of ranges is less than the number of bins + 1.
NotSorted
The ranges are not sorted or (low, high) where low > high is
encountered.
NaN
A range contains nan.
Trait Implementations§
source§impl Clone for InvalidRangeError
impl Clone for InvalidRangeError
source§fn clone(&self) -> InvalidRangeError
fn clone(&self) -> InvalidRangeError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for InvalidRangeError
impl Debug for InvalidRangeError
source§impl PartialEq for InvalidRangeError
impl PartialEq for InvalidRangeError
source§fn eq(&self, other: &InvalidRangeError) -> bool
fn eq(&self, other: &InvalidRangeError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for InvalidRangeError
impl Eq for InvalidRangeError
impl StructuralPartialEq for InvalidRangeError
Auto Trait Implementations§
impl Freeze for InvalidRangeError
impl RefUnwindSafe for InvalidRangeError
impl Send for InvalidRangeError
impl Sync for InvalidRangeError
impl Unpin for InvalidRangeError
impl UnwindSafe for InvalidRangeError
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
source§impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
source§fn try_cast_approx(self) -> Result<T, Error>
fn try_cast_approx(self) -> Result<T, Error>
source§fn cast_approx(self) -> T
fn cast_approx(self) -> T
source§impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
source§fn cast_trunc(self) -> T
fn cast_trunc(self) -> T
Cast to integer, truncating Read more
source§fn cast_nearest(self) -> T
fn cast_nearest(self) -> T
Cast to the nearest integer Read more
source§fn cast_floor(self) -> T
fn cast_floor(self) -> T
Cast the floor to an integer Read more