pub struct DeltaPolicy(/* private fields */);Implementations§
Source§impl DeltaPolicy
impl DeltaPolicy
pub fn from_config(config: &NoveltyConfig) -> Self
pub fn amplitude_for_phase(&self, phase: AttemptPhase) -> f64
Trait Implementations§
Source§impl Clone for DeltaPolicy
impl Clone for DeltaPolicy
Source§fn clone(&self) -> DeltaPolicy
fn clone(&self) -> DeltaPolicy
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 Freeze for DeltaPolicy
impl RefUnwindSafe for DeltaPolicy
impl Send for DeltaPolicy
impl Sync for DeltaPolicy
impl Unpin for DeltaPolicy
impl UnsafeUnpin for DeltaPolicy
impl UnwindSafe for DeltaPolicy
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