pub enum SparklineStyle {
Bar,
Line,
Area,
WinLoss,
}Expand description
Rendering style of a Sparkline.
Variants§
Bar
Filled columns made of block characters.
Line
Braille line connecting the points.
Area
Braille line over a dimmed filled area (the classic “stock ticker” look).
WinLoss
Up / down ticks around the baseline (default 0): wins above, losses below.
Trait Implementations§
Source§impl Clone for SparklineStyle
impl Clone for SparklineStyle
impl Copy for SparklineStyle
Source§impl Debug for SparklineStyle
impl Debug for SparklineStyle
Source§impl Default for SparklineStyle
impl Default for SparklineStyle
impl Eq for SparklineStyle
Source§impl PartialEq for SparklineStyle
impl PartialEq for SparklineStyle
impl StructuralPartialEq for SparklineStyle
Auto Trait Implementations§
impl Freeze for SparklineStyle
impl RefUnwindSafe for SparklineStyle
impl Send for SparklineStyle
impl Sync for SparklineStyle
impl Unpin for SparklineStyle
impl UnsafeUnpin for SparklineStyle
impl UnwindSafe for SparklineStyle
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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