pub struct BarColors {
foreground: Option<Rgb>,
background: Option<Rgb>,
}
Fields§
§foreground: Option<Rgb>
§background: Option<Rgb>
Trait Implementations§
source§impl<'de> Deserialize<'de> for BarColors
impl<'de> Deserialize<'de> for BarColors
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 PartialEq<BarColors> for BarColors
impl PartialEq<BarColors> for BarColors
source§impl<'de> SerdeReplace for BarColors
impl<'de> SerdeReplace for BarColors
impl Copy for BarColors
impl Eq for BarColors
impl StructuralEq for BarColors
impl StructuralPartialEq for BarColors
Auto Trait Implementations§
impl RefUnwindSafe for BarColors
impl Send for BarColors
impl Sync for BarColors
impl Unpin for BarColors
impl UnwindSafe for BarColors
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
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> ResetDiscriminant<T> for Twhere
T: Copy,
impl<T> ResetDiscriminant<T> for Twhere T: Copy,
source§fn discriminant(&self) -> T
fn discriminant(&self) -> T
Value based on which equality for the reset will be determined.