pub struct Bar {
pub x0: f64,
pub y0: f64,
pub w: f64,
pub h: f64,
pub color: Rgb,
}Expand description
One bar as a normalized rect over the plot area: x0/w as fractions of
plot width, y0/h as fractions of plot height, y0 = 0 at the TOP (same
orientation as point geometry). Vertical bars: y0 = 1 - h, full h to the
baseline. Horizontal bars: x0 = 0, w = value fraction.
Fields§
§x0: f64§y0: f64§w: f64§h: f64§color: RgbTrait Implementations§
Auto Trait Implementations§
impl Freeze for Bar
impl RefUnwindSafe for Bar
impl Send for Bar
impl Sync for Bar
impl Unpin for Bar
impl UnsafeUnpin for Bar
impl UnwindSafe for Bar
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