pub enum SegmentDot {
Neutral,
Sky,
Amber,
Red,
Green,
}Expand description
Status colour for the optional dot indicator inside a Segment.
Maps to the palette’s status accents (success, warning, danger,
sky) plus a neutral grey. Pick the variant that matches what the
segment represents (open / triaged / resolved / rejected, etc.).
Variants§
Neutral
Neutral grey — non-status segments or “all” buckets.
Sky
Sky — informational / in-progress.
Amber
Amber — warning / open.
Red
Red — error / rejected.
Green
Green — success / resolved.
Trait Implementations§
Source§impl Clone for SegmentDot
impl Clone for SegmentDot
Source§fn clone(&self) -> SegmentDot
fn clone(&self) -> SegmentDot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SegmentDot
impl Debug for SegmentDot
Source§impl Hash for SegmentDot
impl Hash for SegmentDot
Source§impl PartialEq for SegmentDot
impl PartialEq for SegmentDot
impl Copy for SegmentDot
impl Eq for SegmentDot
impl StructuralPartialEq for SegmentDot
Auto Trait Implementations§
impl Freeze for SegmentDot
impl RefUnwindSafe for SegmentDot
impl Send for SegmentDot
impl Sync for SegmentDot
impl Unpin for SegmentDot
impl UnsafeUnpin for SegmentDot
impl UnwindSafe for SegmentDot
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