pub struct ColorPair {
pub fg: Color,
pub bg: Color,
}Expand description
A color pair consisting of foreground and background colors
Fields§
§fg: Color§bg: ColorImplementations§
Trait Implementations§
impl Copy for ColorPair
impl Eq for ColorPair
impl StructuralPartialEq for ColorPair
Auto Trait Implementations§
impl Freeze for ColorPair
impl RefUnwindSafe for ColorPair
impl Send for ColorPair
impl Sync for ColorPair
impl Unpin for ColorPair
impl UnwindSafe for ColorPair
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