pub struct Col {
pub index: usize,
pub label: String,
pub title: String,
pub selected: bool,
pub slot_x: String,
pub slot_w: String,
pub segs: Vec<Seg>,
pub plot_y: String,
pub plot_h: String,
}Expand description
One bucket: the stacked segments plus the full-height hit area.
Fields§
§index: usize§label: String§title: StringNative tooltip (<title>): the bucket, every tool’s value and the total.
selected: bool§slot_x: StringLeft edge and width of the whole column (the click target).
slot_w: String§segs: Vec<Seg>§plot_y: StringAxis position of the plot’s top/height (for the hit rect).
plot_h: StringTrait Implementations§
impl StructuralPartialEq for Col
Auto Trait Implementations§
impl Freeze for Col
impl RefUnwindSafe for Col
impl Send for Col
impl Sync for Col
impl Unpin for Col
impl UnsafeUnpin for Col
impl UnwindSafe for Col
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