Enum rand_distr::GammaError
source · [−]pub enum GammaError {
ShapeTooSmall,
ScaleTooSmall,
ScaleTooLarge,
}
Expand description
Error type returned from Gamma::new
.
Variants
ShapeTooSmall
shape <= 0
or nan
.
ScaleTooSmall
scale <= 0
or nan
.
ScaleTooLarge
1 / scale == 0
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more