pub struct DiffTheme {
pub header: Style,
pub context: Style,
pub add: Style,
pub delete: Style,
pub meta: Style,
}Expand description
Colours for a diff view.
Fields§
§header: Style§context: Style§add: Style§delete: Style§meta: StyleImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiffTheme
impl RefUnwindSafe for DiffTheme
impl Send for DiffTheme
impl Sync for DiffTheme
impl Unpin for DiffTheme
impl UnsafeUnpin for DiffTheme
impl UnwindSafe for DiffTheme
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