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