pub struct SectionColors {
pub background: Option<(u8, u8, u8)>,
pub foreground: (u8, u8, u8),
pub details: (u8, u8, u8),
}Expand description
Color scheme for a single section (background, foreground, details)
Fields§
§background: Option<(u8, u8, u8)>§foreground: (u8, u8, u8)§details: (u8, u8, u8)Trait Implementations§
Source§impl Clone for SectionColors
impl Clone for SectionColors
impl Copy for SectionColors
Source§impl Debug for SectionColors
impl Debug for SectionColors
Source§impl<'de> Deserialize<'de> for SectionColors
impl<'de> Deserialize<'de> for SectionColors
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SectionColors
impl RefUnwindSafe for SectionColors
impl Send for SectionColors
impl Sync for SectionColors
impl Unpin for SectionColors
impl UnsafeUnpin for SectionColors
impl UnwindSafe for SectionColors
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