pub struct HighlightColors {
pub addition: Color,
pub deletion: Color,
}
Expand description
The colors to use when highlighting additions and deletions
Fields§
§addition: Color
The background color to use with an addition
deletion: Color
The background color to use with a deletion
Trait Implementations§
Source§impl Debug for HighlightColors
impl Debug for HighlightColors
Source§impl Default for HighlightColors
impl Default for HighlightColors
Source§impl<'de> Deserialize<'de> for HighlightColors
impl<'de> Deserialize<'de> for HighlightColors
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 for HighlightColors
impl PartialEq for HighlightColors
Source§impl Serialize for HighlightColors
impl Serialize for HighlightColors
impl Eq for HighlightColors
impl StructuralPartialEq for HighlightColors
Auto Trait Implementations§
impl Freeze for HighlightColors
impl RefUnwindSafe for HighlightColors
impl Send for HighlightColors
impl Sync for HighlightColors
impl Unpin for HighlightColors
impl UnwindSafe for HighlightColors
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