pub struct Chart<'a> { /* private fields */ }Expand description
Display a slice of up to 100 u32 values.
Implementations§
Source§impl<'a> Chart<'a>
impl<'a> Chart<'a>
Sourcepub fn new(
data: &'a [u32],
compare: Option<ChartComparison<'a>>,
options: ChartOptions<'a>,
) -> Self
pub fn new( data: &'a [u32], compare: Option<ChartComparison<'a>>, options: ChartOptions<'a>, ) -> Self
data and compare.data should have the same length.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Chart<'a>
impl<'a> RefUnwindSafe for Chart<'a>
impl<'a> Send for Chart<'a>
impl<'a> Sync for Chart<'a>
impl<'a> Unpin for Chart<'a>
impl<'a> UnwindSafe for Chart<'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