pub enum NormalDistributionError {
MeanTooSmall,
BadVariance,
}Variants§
MeanTooSmall
The mean value is too small (log-normal samples must be positive)
BadVariance
The standard deviation or other dispersion parameter is not finite.
Trait Implementations§
Source§impl Clone for NormalDistributionError
impl Clone for NormalDistributionError
Source§fn clone(&self) -> NormalDistributionError
fn clone(&self) -> NormalDistributionError
Returns a duplicate 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 NormalDistributionError
impl Debug for NormalDistributionError
Source§impl Display for NormalDistributionError
impl Display for NormalDistributionError
Source§impl Error for NormalDistributionError
impl Error for NormalDistributionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for NormalDistributionError
impl PartialEq for NormalDistributionError
impl Copy for NormalDistributionError
impl Eq for NormalDistributionError
impl StructuralPartialEq for NormalDistributionError
Auto Trait Implementations§
impl Freeze for NormalDistributionError
impl RefUnwindSafe for NormalDistributionError
impl Send for NormalDistributionError
impl Sync for NormalDistributionError
impl Unpin for NormalDistributionError
impl UnwindSafe for NormalDistributionError
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