pub struct DtiBuilder { /* private fields */ }Implementations§
Source§impl DtiBuilder
impl DtiBuilder
pub fn new() -> Self
pub fn r(self, n: usize) -> Self
pub fn s(self, n: usize) -> Self
pub fn u(self, n: usize) -> Self
pub fn kernel(self, k: Kernel) -> Self
pub fn apply(self, c: &Candles) -> Result<DtiOutput, DtiError>
pub fn apply_slices( self, high: &[f64], low: &[f64], ) -> Result<DtiOutput, DtiError>
pub fn into_stream(self) -> Result<DtiStream, DtiError>
Trait Implementations§
Source§impl Clone for DtiBuilder
impl Clone for DtiBuilder
Source§fn clone(&self) -> DtiBuilder
fn clone(&self) -> DtiBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DtiBuilder
impl Debug for DtiBuilder
Source§impl Default for DtiBuilder
impl Default for DtiBuilder
impl Copy for DtiBuilder
Auto Trait Implementations§
impl Freeze for DtiBuilder
impl RefUnwindSafe for DtiBuilder
impl Send for DtiBuilder
impl Sync for DtiBuilder
impl Unpin for DtiBuilder
impl UnsafeUnpin for DtiBuilder
impl UnwindSafe for DtiBuilder
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