pub struct CandleVolumeOutput {
pub body: f64,
pub width: f64,
}Expand description
Output of CandleVolume: the signed candle body and its volume-relative width.
Fields§
§body: f64Signed body close − open (positive = bullish candle).
width: f64Box width — volume relative to its period average (1.0 = average).
Trait Implementations§
Source§impl Clone for CandleVolumeOutput
impl Clone for CandleVolumeOutput
Source§fn clone(&self) -> CandleVolumeOutput
fn clone(&self) -> CandleVolumeOutput
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 CandleVolumeOutput
Source§impl Debug for CandleVolumeOutput
impl Debug for CandleVolumeOutput
Source§impl PartialEq for CandleVolumeOutput
impl PartialEq for CandleVolumeOutput
Source§fn eq(&self, other: &CandleVolumeOutput) -> bool
fn eq(&self, other: &CandleVolumeOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CandleVolumeOutput
Auto Trait Implementations§
impl Freeze for CandleVolumeOutput
impl RefUnwindSafe for CandleVolumeOutput
impl Send for CandleVolumeOutput
impl Sync for CandleVolumeOutput
impl Unpin for CandleVolumeOutput
impl UnsafeUnpin for CandleVolumeOutput
impl UnwindSafe for CandleVolumeOutput
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