pub struct KeltnerParams {
pub ema_period: usize,
pub atr_period: usize,
pub atr_mult: f64,
}Expand description
Keltner parameter pack (Wilder ATR).
Fields§
§ema_period: usize§atr_period: usize§atr_mult: f64Implementations§
Trait Implementations§
Source§impl Clone for KeltnerParams
impl Clone for KeltnerParams
Source§fn clone(&self) -> KeltnerParams
fn clone(&self) -> KeltnerParams
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 KeltnerParams
Source§impl Debug for KeltnerParams
impl Debug for KeltnerParams
Source§impl PartialEq for KeltnerParams
impl PartialEq for KeltnerParams
impl StructuralPartialEq for KeltnerParams
Auto Trait Implementations§
impl Freeze for KeltnerParams
impl RefUnwindSafe for KeltnerParams
impl Send for KeltnerParams
impl Sync for KeltnerParams
impl Unpin for KeltnerParams
impl UnsafeUnpin for KeltnerParams
impl UnwindSafe for KeltnerParams
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
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