Struct alacritty::config::color::PrimaryColors
source · pub struct PrimaryColors {
pub foreground: Rgb,
pub background: Rgb,
pub bright_foreground: Option<Rgb>,
pub dim_foreground: Option<Rgb>,
}
Fields§
§foreground: Rgb
§background: Rgb
§bright_foreground: Option<Rgb>
§dim_foreground: Option<Rgb>
Trait Implementations§
source§impl Clone for PrimaryColors
impl Clone for PrimaryColors
source§fn clone(&self) -> PrimaryColors
fn clone(&self) -> PrimaryColors
Returns a copy 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 PrimaryColors
impl Debug for PrimaryColors
source§impl Default for PrimaryColors
impl Default for PrimaryColors
source§impl<'de> Deserialize<'de> for PrimaryColors
impl<'de> Deserialize<'de> for PrimaryColors
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<PrimaryColors> for PrimaryColors
impl PartialEq<PrimaryColors> for PrimaryColors
source§fn eq(&self, other: &PrimaryColors) -> bool
fn eq(&self, other: &PrimaryColors) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'de> SerdeReplace for PrimaryColors
impl<'de> SerdeReplace for PrimaryColors
impl Eq for PrimaryColors
impl StructuralEq for PrimaryColors
impl StructuralPartialEq for PrimaryColors
Auto Trait Implementations§
impl RefUnwindSafe for PrimaryColors
impl Send for PrimaryColors
impl Sync for PrimaryColors
impl Unpin for PrimaryColors
impl UnwindSafe for PrimaryColors
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<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.