pub struct Colors {Show 13 fields
pub primary: PrimaryColors,
pub cursor: InvertedCellColors,
pub vi_mode_cursor: InvertedCellColors,
pub selection: InvertedCellColors,
pub normal: NormalColors,
pub bright: BrightColors,
pub dim: Option<DimColors>,
pub indexed_colors: Vec<IndexedColor>,
pub search: SearchColors,
pub line_indicator: LineIndicatorColors,
pub hints: HintColors,
pub transparent_background_colors: bool,
footer_bar: BarColors,
}
Fields§
§primary: PrimaryColors
§cursor: InvertedCellColors
§vi_mode_cursor: InvertedCellColors
§selection: InvertedCellColors
§normal: NormalColors
§bright: BrightColors
§dim: Option<DimColors>
§indexed_colors: Vec<IndexedColor>
§search: SearchColors
§line_indicator: LineIndicatorColors
§hints: HintColors
§transparent_background_colors: bool
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Colors
impl<'de> Deserialize<'de> for Colors
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<Colors> for Colors
impl PartialEq<Colors> for Colors
source§impl<'de> SerdeReplace for Colors
impl<'de> SerdeReplace for Colors
impl Eq for Colors
impl StructuralEq for Colors
impl StructuralPartialEq for Colors
Auto Trait Implementations§
impl RefUnwindSafe for Colors
impl Send for Colors
impl Sync for Colors
impl Unpin for Colors
impl UnwindSafe for Colors
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.