pub struct AsoInput<'a> {
pub data: AsoData<'a>,
pub params: AsoParams,
}Fields§
§data: AsoData<'a>§params: AsoParamsImplementations§
Source§impl<'a> AsoInput<'a>
impl<'a> AsoInput<'a>
pub fn from_candles(c: &'a Candles, s: &'a str, p: AsoParams) -> Self
pub fn from_slices( open: &'a [f64], high: &'a [f64], low: &'a [f64], close: &'a [f64], p: AsoParams, ) -> Self
pub fn with_default_candles(c: &'a Candles) -> Self
pub fn get_period(&self) -> usize
pub fn get_mode(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AsoInput<'a>
impl<'a> RefUnwindSafe for AsoInput<'a>
impl<'a> Send for AsoInput<'a>
impl<'a> Sync for AsoInput<'a>
impl<'a> Unpin for AsoInput<'a>
impl<'a> UnwindSafe for AsoInput<'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