pub struct Slice {
pub label: String,
pub tool: Option<Tool>,
pub key: Option<String>,
pub value: f64,
}Expand description
One pie slice.
Fields§
§label: String§tool: Option<Tool>The tool, when the label starts with tool: (for colouring).
key: Option<String>The full tool:project key (what super::Selection matches on);
None for the folded other slice, which can’t be selected.
value: f64Trait Implementations§
impl StructuralPartialEq for Slice
Auto Trait Implementations§
impl Freeze for Slice
impl RefUnwindSafe for Slice
impl Send for Slice
impl Sync for Slice
impl Unpin for Slice
impl UnsafeUnpin for Slice
impl UnwindSafe for Slice
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