pub struct TransformBar {
pub open: f64,
pub high: f64,
pub low: f64,
pub close: f64,
pub volume: f64,
pub flag: u8,
}Expand description
One output element of a SeriesTransform.
Fields§
§open: f64Open (Kagi / P&F: where the line or column starts).
high: f64High.
low: f64Low.
close: f64Close (Kagi / P&F: where the line or column ends).
volume: f64Volume; NaN when the input has none.
flag: u8Kagi: 1 thick (yang) / 0 thin (yin) at the end of the line; P&F: 1 X / 0 O; otherwise 0.
Trait Implementations§
Source§impl Clone for TransformBar
impl Clone for TransformBar
impl Copy for TransformBar
Source§impl Debug for TransformBar
impl Debug for TransformBar
Source§impl PartialEq for TransformBar
impl PartialEq for TransformBar
impl StructuralPartialEq for TransformBar
Auto Trait Implementations§
impl Forget for TransformBar
impl Freeze for TransformBar
impl Move for TransformBar
impl RefUnwindSafe for TransformBar
impl Send for TransformBar
impl Sync for TransformBar
impl Unpin for TransformBar
impl UnsafeUnpin for TransformBar
impl UnwindSafe for TransformBar
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