Expand description
Combines a front and back color.
Fields
front: ColorColor used for the foreground.
back: ColorColor used for the background.
Implementations
Trait Implementations
sourceimpl PartialEq<ColorPair> for ColorPair
impl PartialEq<ColorPair> for ColorPair
impl Copy for ColorPair
impl Eq for ColorPair
impl StructuralEq for ColorPair
impl StructuralPartialEq for ColorPair
Auto Trait Implementations
impl RefUnwindSafe for ColorPair
impl Send for ColorPair
impl Sync for ColorPair
impl Unpin for ColorPair
impl UnwindSafe for ColorPair
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more