pub enum VolumeColorRule {
Open,
PreviousClose,
}Expand description
Comparison used to colour volume columns. An unchanged close is always up.
Variants§
Open
Compare this bar’s close with its open.
PreviousClose
Compare with the previous usable close; the first bar uses its open.
Trait Implementations§
Source§impl Clone for VolumeColorRule
impl Clone for VolumeColorRule
Source§fn clone(&self) -> VolumeColorRule
fn clone(&self) -> VolumeColorRule
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 VolumeColorRule
Source§impl Debug for VolumeColorRule
impl Debug for VolumeColorRule
impl Eq for VolumeColorRule
Source§impl PartialEq for VolumeColorRule
impl PartialEq for VolumeColorRule
impl StructuralPartialEq for VolumeColorRule
Auto Trait Implementations§
impl Freeze for VolumeColorRule
impl RefUnwindSafe for VolumeColorRule
impl Send for VolumeColorRule
impl Sync for VolumeColorRule
impl Unpin for VolumeColorRule
impl UnsafeUnpin for VolumeColorRule
impl UnwindSafe for VolumeColorRule
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more