pub struct BulletItem {
pub label: String,
pub value: f64,
pub target: Option<f64>,
pub ranges: Vec<f64>,
}Expand description
One bullet row.
Fields§
§label: StringRow label.
value: f64Measured value.
target: Option<f64>Target marker position.
ranges: Vec<f64>Ascending upper bounds of the qualitative ranges (e.g. poor/ok/good).
Implementations§
Trait Implementations§
Source§impl Clone for BulletItem
impl Clone for BulletItem
Source§impl Debug for BulletItem
impl Debug for BulletItem
Source§impl PartialEq for BulletItem
impl PartialEq for BulletItem
impl StructuralPartialEq for BulletItem
Auto Trait Implementations§
impl Freeze for BulletItem
impl RefUnwindSafe for BulletItem
impl Send for BulletItem
impl Sync for BulletItem
impl Unpin for BulletItem
impl UnsafeUnpin for BulletItem
impl UnwindSafe for BulletItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more