pub struct StatDescriptor {
pub label: &'static str,
pub color: [u8; 4],
}Expand description
A stat series a model declares.
Fields§
§label: &'static strLabel that identifies the series in the UI, in result columns and in a stop condition.
color: [u8; 4]RGBA colour of the series in the chart.
Implementations§
Trait Implementations§
Source§impl Clone for StatDescriptor
impl Clone for StatDescriptor
Auto Trait Implementations§
impl Freeze for StatDescriptor
impl RefUnwindSafe for StatDescriptor
impl Send for StatDescriptor
impl Sync for StatDescriptor
impl Unpin for StatDescriptor
impl UnsafeUnpin for StatDescriptor
impl UnwindSafe for StatDescriptor
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