pub struct LineBreakBar {
pub open: f64,
pub close: f64,
pub direction: i8,
}Expand description
One completed line-break line.
Fields§
§open: f64Price where the line began (the previous line’s far edge).
close: f64Price where the line ended (the new close that drew it).
direction: i8+1 for a rising line, -1 for a falling line.
Trait Implementations§
Source§impl Clone for LineBreakBar
impl Clone for LineBreakBar
Source§fn clone(&self) -> LineBreakBar
fn clone(&self) -> LineBreakBar
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 LineBreakBar
Source§impl Debug for LineBreakBar
impl Debug for LineBreakBar
Source§impl PartialEq for LineBreakBar
impl PartialEq for LineBreakBar
Source§fn eq(&self, other: &LineBreakBar) -> bool
fn eq(&self, other: &LineBreakBar) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LineBreakBar
Auto Trait Implementations§
impl Freeze for LineBreakBar
impl RefUnwindSafe for LineBreakBar
impl Send for LineBreakBar
impl Sync for LineBreakBar
impl Unpin for LineBreakBar
impl UnsafeUnpin for LineBreakBar
impl UnwindSafe for LineBreakBar
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