pub struct EmpiricalDist<'a> {
pub support_min: f64,
pub support_max: f64,
pub points: &'a [f64],
}Expand description
An empirical distribution sampled at discrete points.
Fields§
§support_min: f64§support_max: f64§points: &'a [f64]Trait Implementations§
Source§impl<'a> Clone for EmpiricalDist<'a>
impl<'a> Clone for EmpiricalDist<'a>
Source§fn clone(&self) -> EmpiricalDist<'a>
fn clone(&self) -> EmpiricalDist<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for EmpiricalDist<'a>
impl<'a> RefUnwindSafe for EmpiricalDist<'a>
impl<'a> Send for EmpiricalDist<'a>
impl<'a> Sync for EmpiricalDist<'a>
impl<'a> Unpin for EmpiricalDist<'a>
impl<'a> UnsafeUnpin for EmpiricalDist<'a>
impl<'a> UnwindSafe for EmpiricalDist<'a>
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