pub struct Sparkline<'a> { /* private fields */ }Expand description
A single-row sparkline of samples, scaled to the sample max, using the
eight vertical block glyphs ▁▂▃▄▅▆▇█.
The most recent samples are right-aligned so the graph scrolls left as
new data arrives. Bar height (and color) tracks each sample’s fraction
of the max via Meter. Only the first row of area is drawn.
Implementations§
Trait Implementations§
impl<'a> Copy for Sparkline<'a>
Auto Trait Implementations§
impl<'a> Freeze for Sparkline<'a>
impl<'a> RefUnwindSafe for Sparkline<'a>
impl<'a> Send for Sparkline<'a>
impl<'a> Sync for Sparkline<'a>
impl<'a> Unpin for Sparkline<'a>
impl<'a> UnsafeUnpin for Sparkline<'a>
impl<'a> UnwindSafe for Sparkline<'a>
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