Enum average::InvalidRangeError [−][src]
pub enum InvalidRangeError { NotEnoughRanges, NotSorted, NaN, }
Expand description
Invalid ranges were specified for constructing the histogram.
Variants
Expand description
The number of ranges is less than the number of bins + 1.
Expand description
The ranges are not sorted or (low, high)
where low
> high
is
encountered.
Expand description
A range contains nan
.
Trait Implementations
impl Clone for InvalidRangeError
[src]
impl Clone for InvalidRangeError
[src]fn clone(&self) -> InvalidRangeError
[src]
fn clone(&self) -> InvalidRangeError
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for InvalidRangeError
[src]
impl Debug for InvalidRangeError
[src]impl PartialEq<InvalidRangeError> for InvalidRangeError
[src]
impl PartialEq<InvalidRangeError> for InvalidRangeError
[src]impl Copy for InvalidRangeError
[src]
impl Eq for InvalidRangeError
[src]
impl StructuralEq for InvalidRangeError
[src]
impl StructuralPartialEq for InvalidRangeError
[src]
Auto Trait Implementations
impl RefUnwindSafe for InvalidRangeError
impl Send for InvalidRangeError
impl Sync for InvalidRangeError
impl Unpin for InvalidRangeError
impl UnwindSafe for InvalidRangeError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<S, T> CastFloat<T> for S where
T: ConvFloat<S>,
[src]
impl<S, T> CastFloat<T> for S where
T: ConvFloat<S>,
[src]pub fn cast_trunc(self) -> T
[src]
pub fn cast_trunc(self) -> T
[src]Cast to integer, truncating Read more
pub fn cast_nearest(self) -> T
[src]
pub fn cast_nearest(self) -> T
[src]Cast to the nearest integer Read more
pub fn cast_floor(self) -> T
[src]
pub fn cast_floor(self) -> T
[src]Cast the floor to an integer Read more
pub fn try_cast_trunc(self) -> Result<T, Error>
[src]
pub fn try_cast_trunc(self) -> Result<T, Error>
[src]Try converting to integer with truncation Read more
pub fn try_cast_nearest(self) -> Result<T, Error>
[src]
pub fn try_cast_nearest(self) -> Result<T, Error>
[src]Try converting to the nearest integer Read more
pub fn try_cast_floor(self) -> Result<T, Error>
[src]
pub fn try_cast_floor(self) -> Result<T, Error>
[src]Try converting the floor to an integer Read more
pub fn try_cast_ceil(self) -> Result<T, Error>
[src]
pub fn try_cast_ceil(self) -> Result<T, Error>
[src]Try convert the ceiling to an integer Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more