Enum rand_distr::TriangularError [−][src]
pub enum TriangularError { RangeTooSmall, ModeRange, }
Error type returned from Triangular::new
.
Variants
max < min
or min
or max
is NaN.
mode < min
or mode > max
or mode
is NaN.
Trait Implementations
impl Clone for TriangularError
[src]
impl Clone for TriangularError
[src]fn clone(&self) -> TriangularError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Error for TriangularError
[src]
impl Error for TriangularError
[src]impl PartialEq<TriangularError> for TriangularError
[src]
impl PartialEq<TriangularError> for TriangularError
[src]