pub struct ColorScheme {
pub path_fill: Argb,
pub path_stroke: Argb,
pub text_fill: Argb,
pub text_stroke: Argb,
}Expand description
The four replacement colours a forced-colour render substitutes.
Fields§
§path_fill: ArgbReplaces every path fill.
path_stroke: ArgbReplaces every path stroke.
text_fill: ArgbReplaces every text fill.
text_stroke: ArgbReplaces every text stroke.
Implementations§
Trait Implementations§
Source§impl Clone for ColorScheme
impl Clone for ColorScheme
impl Copy for ColorScheme
Source§impl Debug for ColorScheme
impl Debug for ColorScheme
impl Eq for ColorScheme
Source§impl PartialEq for ColorScheme
impl PartialEq for ColorScheme
impl StructuralPartialEq for ColorScheme
Auto Trait Implementations§
impl Freeze for ColorScheme
impl RefUnwindSafe for ColorScheme
impl Send for ColorScheme
impl Sync for ColorScheme
impl Unpin for ColorScheme
impl UnsafeUnpin for ColorScheme
impl UnwindSafe for ColorScheme
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