pub struct CentralPivotRangeOutput {
pub pivot: f64,
pub tc: f64,
pub bc: f64,
}Expand description
Output of CentralPivotRange: the pivot and the two central lines that
bracket it.
Fields§
§pivot: f64Pivot point (high + low + close) / 3.
tc: f64Top central line — the higher of the two central levels.
bc: f64Bottom central line — the lower of the two central levels.
Trait Implementations§
Source§impl Clone for CentralPivotRangeOutput
impl Clone for CentralPivotRangeOutput
Source§fn clone(&self) -> CentralPivotRangeOutput
fn clone(&self) -> CentralPivotRangeOutput
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 moreimpl Copy for CentralPivotRangeOutput
Source§impl Debug for CentralPivotRangeOutput
impl Debug for CentralPivotRangeOutput
Source§impl PartialEq for CentralPivotRangeOutput
impl PartialEq for CentralPivotRangeOutput
Source§fn eq(&self, other: &CentralPivotRangeOutput) -> bool
fn eq(&self, other: &CentralPivotRangeOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CentralPivotRangeOutput
Auto Trait Implementations§
impl Freeze for CentralPivotRangeOutput
impl RefUnwindSafe for CentralPivotRangeOutput
impl Send for CentralPivotRangeOutput
impl Sync for CentralPivotRangeOutput
impl Unpin for CentralPivotRangeOutput
impl UnsafeUnpin for CentralPivotRangeOutput
impl UnwindSafe for CentralPivotRangeOutput
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