pub struct PointFigureColumn {
pub top: f64,
pub bottom: f64,
pub direction: i8,
pub boxes: u32,
}Expand description
One completed Point & Figure column. direction is +1 (X, rising) or -1
(O, falling); top/bottom are the column’s high/low box levels
(top >= bottom); boxes is the span between them in box_size units.
Fields§
§top: f64§bottom: f64§direction: i8§boxes: u32Trait Implementations§
Source§impl Clone for PointFigureColumn
impl Clone for PointFigureColumn
impl Copy for PointFigureColumn
Source§impl Debug for PointFigureColumn
impl Debug for PointFigureColumn
Source§impl PartialEq for PointFigureColumn
impl PartialEq for PointFigureColumn
impl StructuralPartialEq for PointFigureColumn
Auto Trait Implementations§
impl Forget for PointFigureColumn
impl Freeze for PointFigureColumn
impl RefUnwindSafe for PointFigureColumn
impl Send for PointFigureColumn
impl Sync for PointFigureColumn
impl Unpin for PointFigureColumn
impl UnsafeUnpin for PointFigureColumn
impl UnwindSafe for PointFigureColumn
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,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.