pub struct Colors {
pub blue: &'static str,
pub green: &'static str,
pub dim: &'static str,
pub reset: &'static str,
}Expand description
ANSI color palette for CLI output.
Designed for jq-inspired colorization that works in both light and dark themes. Uses only standard 16-color ANSI codes (no RGB).
Fields§
§blue: &'static str§green: &'static str§dim: &'static str§reset: &'static strImplementations§
Trait Implementations§
impl Copy for Colors
Auto Trait Implementations§
impl Freeze for Colors
impl RefUnwindSafe for Colors
impl Send for Colors
impl Sync for Colors
impl Unpin for Colors
impl UnwindSafe for Colors
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