Enum rand_distr::TriangularError
source · [−]pub enum TriangularError {
RangeTooSmall,
ModeRange,
}
Expand description
Error type returned from Triangular::new
.
Variants
RangeTooSmall
max < min
or min
or max
is NaN.
ModeRange
mode < min
or mode > max
or mode
is NaN.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TriangularError
impl Send for TriangularError
impl Sync for TriangularError
impl Unpin for TriangularError
impl UnwindSafe for TriangularError
Blanket Implementations
Mutably borrows from an owned value. Read more