pub struct Theme {Show 23 fields
pub border: Color,
pub background: Color,
pub title: Color,
pub text: Color,
pub tab_highlight: Color,
pub tab_selected: Color,
pub tab_scrollbar_arrows: Color,
pub tab_scrollbar_track: Color,
pub tab_scrollbar_thumb: Color,
pub memory: Color,
pub connections: Color,
pub hits: Color,
pub gets: Color,
pub sets: Color,
pub evictions: Color,
pub items: Color,
pub bytes_rx: Color,
pub bytes_tx: Color,
pub user_cpu: Color,
pub system_cpu: Color,
pub table_header: Color,
pub table_select_bg: Color,
pub table_select_fg: Color,
}Expand description
The collection of colors used in various places in the mtop UI.
Fields§
§border: Color§background: Color§title: Color§text: Color§tab_highlight: Color§tab_selected: Color§tab_scrollbar_arrows: Color§tab_scrollbar_track: Color§tab_scrollbar_thumb: Color§memory: Color§connections: Color§hits: Color§gets: Color§sets: Color§evictions: Color§items: Color§bytes_rx: Color§bytes_tx: Color§user_cpu: Color§system_cpu: Color§table_header: Color§table_select_bg: Color§table_select_fg: ColorTrait Implementations§
impl Copy for Theme
impl Eq for Theme
impl StructuralPartialEq for Theme
Auto Trait Implementations§
impl Freeze for Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnwindSafe for Theme
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<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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreSource§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more