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
Source§fn clone(&self) -> SectionColors
fn clone(&self) -> SectionColors
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 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
Source§impl Serialize for SectionColors
impl Serialize for SectionColors
impl Copy for SectionColors
Auto Trait Implementations§
impl Freeze for SectionColors
impl RefUnwindSafe for SectionColors
impl Send for SectionColors
impl Sync for SectionColors
impl Unpin 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