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