pub struct Part {
pub value: f64,
pub token: Option<String>,
pub label: Option<String>,
pub hatch: Option<bool>,
}Expand description
A stacked part of a meter or meter cell.
Fields§
§value: f64The part’s share.
token: Option<String>Its color token.
label: Option<String>Its tooltip label.
hatch: Option<bool>Diagonal hatching.
Trait Implementations§
impl StructuralPartialEq for Part
Auto Trait Implementations§
impl Freeze for Part
impl RefUnwindSafe for Part
impl Send for Part
impl Sync for Part
impl Unpin for Part
impl UnsafeUnpin for Part
impl UnwindSafe for Part
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