pub enum PatternState {
Forming,
Confirmed,
Invalidated,
}Expand description
Lifecycle of a detected pattern candidate.
Variants§
Forming
Still within its defining swing points; boundary not yet broken.
Confirmed
Price broke out through a boundary in the pattern’s implied direction.
Invalidated
Price violated the pattern’s structure without a valid breakout (e.g. closed back through the opposite boundary first).
Trait Implementations§
Source§impl Clone for PatternState
impl Clone for PatternState
Source§fn clone(&self) -> PatternState
fn clone(&self) -> PatternState
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 PatternState
Source§impl Debug for PatternState
impl Debug for PatternState
impl Eq for PatternState
Source§impl PartialEq for PatternState
impl PartialEq for PatternState
impl StructuralPartialEq for PatternState
Auto Trait Implementations§
impl Freeze for PatternState
impl RefUnwindSafe for PatternState
impl Send for PatternState
impl Sync for PatternState
impl Unpin for PatternState
impl UnsafeUnpin for PatternState
impl UnwindSafe for PatternState
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