pub enum RoleColor {
Success,
Warning,
Accent,
Error,
Muted,
Dim,
}Expand description
Role color tag, ported from omp’s theme color names.
Variants§
Success
success — default role.
Warning
warning — fast / cheap role.
Accent
accent — reasoning / advisor role.
Error
error — vision role.
Muted
muted — planning / subtask roles. (Default for custom roles.)
Dim
dim — low-prominence roles (commit, title).
Trait Implementations§
impl Copy for RoleColor
impl Eq for RoleColor
impl StructuralPartialEq for RoleColor
Auto Trait Implementations§
impl Freeze for RoleColor
impl RefUnwindSafe for RoleColor
impl Send for RoleColor
impl Sync for RoleColor
impl Unpin for RoleColor
impl UnsafeUnpin for RoleColor
impl UnwindSafe for RoleColor
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.