pub struct DemarkPivotsOutput {
pub pp: f64,
pub r1: f64,
pub s1: f64,
}Expand description
DeMark Pivot Points output: a single resistance, pivot and support.
Fields§
§pp: f64Pivot Point: X / 4 where X is the conditional sum (see DemarkPivots).
r1: f64Resistance 1: X / 2 − L.
s1: f64Support 1: X / 2 − H.
Trait Implementations§
Source§impl Clone for DemarkPivotsOutput
impl Clone for DemarkPivotsOutput
Source§fn clone(&self) -> DemarkPivotsOutput
fn clone(&self) -> DemarkPivotsOutput
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 DemarkPivotsOutput
impl Debug for DemarkPivotsOutput
Source§impl PartialEq for DemarkPivotsOutput
impl PartialEq for DemarkPivotsOutput
Source§fn eq(&self, other: &DemarkPivotsOutput) -> bool
fn eq(&self, other: &DemarkPivotsOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DemarkPivotsOutput
impl StructuralPartialEq for DemarkPivotsOutput
Auto Trait Implementations§
impl Freeze for DemarkPivotsOutput
impl RefUnwindSafe for DemarkPivotsOutput
impl Send for DemarkPivotsOutput
impl Sync for DemarkPivotsOutput
impl Unpin for DemarkPivotsOutput
impl UnsafeUnpin for DemarkPivotsOutput
impl UnwindSafe for DemarkPivotsOutput
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