pub struct Bars { /* private fields */ }Expand description
Bars from Axes::bars.
Implementations§
Source§impl Bars
impl Bars
Sourcepub fn labels(self, names: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn labels(self, names: impl IntoIterator<Item = impl Into<String>>) -> Self
Names under the bars, in order.
Sourcepub fn value(&self, i: usize) -> Signal<f64>
pub fn value(&self, i: usize) -> Signal<f64>
The value of bar i. .to(8.0, 1.0) grows it and its label.
§Panics
If there are fewer than i + 1 bars.
Auto Trait Implementations§
impl !RefUnwindSafe for Bars
impl !Send for Bars
impl !Sync for Bars
impl !UnwindSafe for Bars
impl Freeze for Bars
impl Unpin for Bars
impl UnsafeUnpin for Bars
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