pub struct WaveTrendOutput {
pub wt1: f64,
pub wt2: f64,
}Expand description
Wave Trend Oscillator output: the two lines wt1 (the oscillator) and
wt2 (the signal SMA).
Fields§
§wt1: f64wt1 — the smoothed channel index.
wt2: f64wt2 — the SMA-smoothed signal line.
Trait Implementations§
Source§impl Clone for WaveTrendOutput
impl Clone for WaveTrendOutput
Source§fn clone(&self) -> WaveTrendOutput
fn clone(&self) -> WaveTrendOutput
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 moreSource§impl Debug for WaveTrendOutput
impl Debug for WaveTrendOutput
Source§impl PartialEq for WaveTrendOutput
impl PartialEq for WaveTrendOutput
Source§fn eq(&self, other: &WaveTrendOutput) -> bool
fn eq(&self, other: &WaveTrendOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WaveTrendOutput
impl StructuralPartialEq for WaveTrendOutput
Auto Trait Implementations§
impl Freeze for WaveTrendOutput
impl RefUnwindSafe for WaveTrendOutput
impl Send for WaveTrendOutput
impl Sync for WaveTrendOutput
impl Unpin for WaveTrendOutput
impl UnsafeUnpin for WaveTrendOutput
impl UnwindSafe for WaveTrendOutput
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