pub enum AverageError {
EmptyInput,
MismatchedLengths,
ZeroWeightSum,
NegativeValue,
ZeroValue,
InvalidWindow,
}Variants§
Trait Implementations§
Source§impl Clone for AverageError
impl Clone for AverageError
Source§fn clone(&self) -> AverageError
fn clone(&self) -> AverageError
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 Debug for AverageError
impl Debug for AverageError
Source§impl PartialEq for AverageError
impl PartialEq for AverageError
Source§fn eq(&self, other: &AverageError) -> bool
fn eq(&self, other: &AverageError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AverageError
impl StructuralPartialEq for AverageError
Auto Trait Implementations§
impl Freeze for AverageError
impl RefUnwindSafe for AverageError
impl Send for AverageError
impl Sync for AverageError
impl Unpin for AverageError
impl UnsafeUnpin for AverageError
impl UnwindSafe for AverageError
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