Enum rand_distr::TriangularError
source · pub enum TriangularError {
RangeTooSmall,
ModeRange,
}
Expand description
Error type returned from Triangular::new
.
Variants§
Trait Implementations§
source§impl Clone for TriangularError
impl Clone for TriangularError
source§fn clone(&self) -> TriangularError
fn clone(&self) -> TriangularError
Returns a copy 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 TriangularError
impl Debug for TriangularError
source§impl Display for TriangularError
impl Display for TriangularError
source§impl PartialEq for TriangularError
impl PartialEq for TriangularError
source§fn eq(&self, other: &TriangularError) -> bool
fn eq(&self, other: &TriangularError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TriangularError
impl Eq for TriangularError
impl StructuralEq for TriangularError
impl StructuralPartialEq for TriangularError
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§
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