pub struct HurstChannelOutput {
pub upper: f64,
pub middle: f64,
pub lower: f64,
}Expand description
Hurst Channel output.
Fields§
§upper: f64Upper channel: middle + multiplier · (highest_high − lowest_low).
middle: f64Middle line: SMA of close over the period.
lower: f64Lower channel: middle − multiplier · (highest_high − lowest_low).
Trait Implementations§
Source§impl Clone for HurstChannelOutput
impl Clone for HurstChannelOutput
Source§fn clone(&self) -> HurstChannelOutput
fn clone(&self) -> HurstChannelOutput
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 HurstChannelOutput
impl Debug for HurstChannelOutput
Source§impl PartialEq for HurstChannelOutput
impl PartialEq for HurstChannelOutput
Source§fn eq(&self, other: &HurstChannelOutput) -> bool
fn eq(&self, other: &HurstChannelOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HurstChannelOutput
impl StructuralPartialEq for HurstChannelOutput
Auto Trait Implementations§
impl Freeze for HurstChannelOutput
impl RefUnwindSafe for HurstChannelOutput
impl Send for HurstChannelOutput
impl Sync for HurstChannelOutput
impl Unpin for HurstChannelOutput
impl UnsafeUnpin for HurstChannelOutput
impl UnwindSafe for HurstChannelOutput
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