pub struct DeltaPolicy {
pub delta_amp_default: f64,
pub delta_amp_stabilize1: f64,
pub delta_amp_stabilize2: f64,
pub delta_amp_clamp: f64,
}Fields§
§delta_amp_default: f64§delta_amp_stabilize1: f64§delta_amp_stabilize2: f64§delta_amp_clamp: f64Implementations§
Source§impl DeltaPolicy
impl DeltaPolicy
pub fn new( delta_amp_default: f64, delta_amp_stabilize1: f64, delta_amp_stabilize2: f64, delta_amp_clamp: f64, ) -> 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