pub struct ClassicPivotsOutput {
pub pp: f64,
pub r1: f64,
pub r2: f64,
pub r3: f64,
pub s1: f64,
pub s2: f64,
pub s3: f64,
}Expand description
Classic Pivot Points output: pivot plus three resistances and three supports.
Fields§
§pp: f64Pivot Point: (H + L + C) / 3.
r1: f64Resistance 1: 2·PP − L.
r2: f64Resistance 2: PP + (H − L).
r3: f64Resistance 3: H + 2·(PP − L).
s1: f64Support 1: 2·PP − H.
s2: f64Support 2: PP − (H − L).
s3: f64Support 3: L − 2·(H − PP).
Trait Implementations§
Source§impl Clone for ClassicPivotsOutput
impl Clone for ClassicPivotsOutput
Source§fn clone(&self) -> ClassicPivotsOutput
fn clone(&self) -> ClassicPivotsOutput
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 ClassicPivotsOutput
impl Debug for ClassicPivotsOutput
Source§impl PartialEq for ClassicPivotsOutput
impl PartialEq for ClassicPivotsOutput
Source§fn eq(&self, other: &ClassicPivotsOutput) -> bool
fn eq(&self, other: &ClassicPivotsOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ClassicPivotsOutput
impl StructuralPartialEq for ClassicPivotsOutput
Auto Trait Implementations§
impl Freeze for ClassicPivotsOutput
impl RefUnwindSafe for ClassicPivotsOutput
impl Send for ClassicPivotsOutput
impl Sync for ClassicPivotsOutput
impl Unpin for ClassicPivotsOutput
impl UnsafeUnpin for ClassicPivotsOutput
impl UnwindSafe for ClassicPivotsOutput
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