pub struct LpcInput<'a> {
pub data: LpcData<'a>,
pub params: LpcParams,
}Fields§
§data: LpcData<'a>§params: LpcParamsImplementations§
Source§impl<'a> LpcInput<'a>
impl<'a> LpcInput<'a>
pub fn from_candles(c: &'a Candles, s: &'a str, p: LpcParams) -> Self
pub fn from_slices( high: &'a [f64], low: &'a [f64], close: &'a [f64], src: &'a [f64], p: LpcParams, ) -> Self
pub fn with_default_candles(c: &'a Candles) -> Self
pub fn get_cutoff_type(&self) -> String
pub fn get_fixed_period(&self) -> usize
pub fn get_max_cycle_limit(&self) -> usize
pub fn get_cycle_mult(&self) -> f64
pub fn get_tr_mult(&self) -> f64
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for LpcInput<'a>
impl<'a> RefUnwindSafe for LpcInput<'a>
impl<'a> Send for LpcInput<'a>
impl<'a> Sync for LpcInput<'a>
impl<'a> Unpin for LpcInput<'a>
impl<'a> UnsafeUnpin for LpcInput<'a>
impl<'a> UnwindSafe for LpcInput<'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
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