pub enum CyclePhase {
Markup = 1,
Markdown = -1,
Plateau = 0,
Accumulation = 2,
Distribution = -2,
}Expand description
Numeric encoding for cycle phases (avoids String in IndicatorOutput).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CyclePhase
impl Clone for CyclePhase
Source§fn clone(&self) -> CyclePhase
fn clone(&self) -> CyclePhase
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 CyclePhase
Source§impl Debug for CyclePhase
impl Debug for CyclePhase
impl Eq for CyclePhase
Source§impl PartialEq for CyclePhase
impl PartialEq for CyclePhase
Source§fn eq(&self, other: &CyclePhase) -> bool
fn eq(&self, other: &CyclePhase) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CyclePhase
Auto Trait Implementations§
impl Freeze for CyclePhase
impl RefUnwindSafe for CyclePhase
impl Send for CyclePhase
impl Sync for CyclePhase
impl Unpin for CyclePhase
impl UnsafeUnpin for CyclePhase
impl UnwindSafe for CyclePhase
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.