pub enum Marker {
Dot,
Block,
Bar,
Braille,
HalfBlock,
}Expand description
Marker to use when plotting data points
Variants§
Dot
One point per cell in shape of dot (•)
Block
One point per cell in shape of a block (█)
Bar
One point per cell in the shape of a bar (▄)
Braille
Use the Unicode Braille Patterns block to represent data points.
This is a 2x4 grid of dots, where each dot can be either on or off.
Note: Support for this marker is limited to terminals and fonts that support Unicode
Braille Patterns. If your terminal does not support this, you will see unicode replacement
characters (�) instead of Braille dots (⠓, ⣇, ⣿).
HalfBlock
Use the unicode block and half block characters (█, ▄, and ▀) to represent points in
a grid that is double the resolution of the terminal. Because each terminal cell is
generally about twice as tall as it is wide, this allows for a square grid of pixels.
Trait Implementations§
impl Copy for Marker
impl Eq for Marker
impl StructuralPartialEq for Marker
Auto Trait Implementations§
impl Freeze for Marker
impl RefUnwindSafe for Marker
impl Send for Marker
impl Sync for Marker
impl Unpin for Marker
impl UnwindSafe for Marker
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
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
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>
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>
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 moreSource§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
CompactString. Read more