pub struct ClockSeries {
pub highest_comp: Vec<u8>,
pub sq_start: Vec<bool>,
pub is_fired: Vec<bool>,
pub fired_start: Vec<bool>,
pub bars_since_fired: Vec<usize>,
pub bars_since_start: Vec<usize>,
pub mom_changed: Vec<bool>,
pub theta: Vec<f64>,
pub is_active: Vec<bool>,
}Expand description
Everything the clock knows at one bar.
Fields§
§highest_comp: Vec<u8>§sq_start: Vec<bool>§is_fired: Vec<bool>§fired_start: Vec<bool>§bars_since_fired: Vec<usize>τ: bars since the squeeze fired (1 on the firing bar, 0 if not fired).
bars_since_start: Vec<usize>Bars since the current compression lifecycle began.
mom_changed: Vec<bool>§theta: Vec<f64>θ: the expected life of the move, in bars.
is_active: Vec<bool>Trait Implementations§
Source§impl Clone for ClockSeries
impl Clone for ClockSeries
Source§fn clone(&self) -> ClockSeries
fn clone(&self) -> ClockSeries
Returns a duplicate of the value. Read more
1.0.0 · 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 ClockSeries
impl Debug for ClockSeries
Source§impl Default for ClockSeries
impl Default for ClockSeries
Source§fn default() -> ClockSeries
fn default() -> ClockSeries
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClockSeries
impl RefUnwindSafe for ClockSeries
impl Send for ClockSeries
impl Sync for ClockSeries
impl Unpin for ClockSeries
impl UnsafeUnpin for ClockSeries
impl UnwindSafe for ClockSeries
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