pub struct PrbInput<'a> {
pub data: PrbData<'a>,
pub params: PrbParams,
}Fields§
§data: PrbData<'a>§params: PrbParamsImplementations§
Source§impl<'a> PrbInput<'a>
impl<'a> PrbInput<'a>
pub fn from_candles(c: &'a Candles, s: &'a str, p: PrbParams) -> Self
pub fn from_slice(sl: &'a [f64], p: PrbParams) -> Self
pub fn with_default_candles(c: &'a Candles) -> Self
pub fn get_smooth_data(&self) -> bool
pub fn get_smooth_period(&self) -> usize
pub fn get_regression_period(&self) -> usize
pub fn get_polynomial_order(&self) -> usize
pub fn get_regression_offset(&self) -> i32
pub fn get_ndev(&self) -> f64
pub fn get_equ_from(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PrbInput<'a>
impl<'a> RefUnwindSafe for PrbInput<'a>
impl<'a> Send for PrbInput<'a>
impl<'a> Sync for PrbInput<'a>
impl<'a> Unpin for PrbInput<'a>
impl<'a> UnsafeUnpin for PrbInput<'a>
impl<'a> UnwindSafe for PrbInput<'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