pub struct LocalParetoConversion {
pub rel_tolerance: f64,
pub stop_survival: f64,
pub stop_at: f64,
}Expand description
Settings for local_pareto_to_piecewise.
Fields§
§rel_tolerance: f64Largest relative error allowed in the survival function on the approximated range.
stop_survival: f64Stop once the survival function falls below this.
stop_at: f64Stop at this amount.
Trait Implementations§
Source§impl Clone for LocalParetoConversion
impl Clone for LocalParetoConversion
Source§fn clone(&self) -> LocalParetoConversion
fn clone(&self) -> LocalParetoConversion
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 moreimpl Copy for LocalParetoConversion
Source§impl Debug for LocalParetoConversion
impl Debug for LocalParetoConversion
Source§impl Default for LocalParetoConversion
impl Default for LocalParetoConversion
Source§impl PartialEq for LocalParetoConversion
impl PartialEq for LocalParetoConversion
impl StructuralPartialEq for LocalParetoConversion
Auto Trait Implementations§
impl Freeze for LocalParetoConversion
impl RefUnwindSafe for LocalParetoConversion
impl Send for LocalParetoConversion
impl Sync for LocalParetoConversion
impl Unpin for LocalParetoConversion
impl UnsafeUnpin for LocalParetoConversion
impl UnwindSafe for LocalParetoConversion
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more