[−][src]Struct owo_colors::FgColorDisplay
Transparent wrapper around a type which implements all the formatters the wrapped type does,
with the addition of changing the foreground color. Recommended to be constructed using
OwoColorize
.
Trait Implementations
impl<'a, Color: Color, T: Binary> Binary for FgColorDisplay<'a, Color, T>
[src]
impl<'a, Color: Color, T: Debug> Debug for FgColorDisplay<'a, Color, T>
[src]
impl<'a, Color: Color, T: Display> Display for FgColorDisplay<'a, Color, T>
[src]
impl<'a, Color: Color, T: LowerExp> LowerExp for FgColorDisplay<'a, Color, T>
[src]
impl<'a, Color: Color, T: LowerHex> LowerHex for FgColorDisplay<'a, Color, T>
[src]
impl<'a, Color: Color, T: Octal> Octal for FgColorDisplay<'a, Color, T>
[src]
impl<'a, Color: Color, T: Pointer> Pointer for FgColorDisplay<'a, Color, T>
[src]
impl<'a, Color: Color, T: UpperExp> UpperExp for FgColorDisplay<'a, Color, T>
[src]
impl<'a, Color: Color, T: UpperHex> UpperHex for FgColorDisplay<'a, Color, T>
[src]
Auto Trait Implementations
impl<'a, C, T> Send for FgColorDisplay<'a, C, T> where
C: Send,
T: Sync,
[src]
C: Send,
T: Sync,
impl<'a, C, T> Sync for FgColorDisplay<'a, C, T> where
C: Sync,
T: Sync,
[src]
C: Sync,
T: Sync,
impl<'a, C, T> Unpin for FgColorDisplay<'a, C, T> where
C: Unpin,
[src]
C: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<D> OwoColorize for D
[src]
fn fg<'a, C: Color>(&'a self) -> FgColorDisplay<'a, C, Self>
[src]
fn bg<'a, C: Color>(&'a self) -> BgColorDisplay<'a, C, Self>
[src]
fn black<'a>(&'a self) -> FgColorDisplay<'a, Black, Self>
[src]
fn on_black<'a>(&'a self) -> BgColorDisplay<'a, Black, Self>
[src]
fn red<'a>(&'a self) -> FgColorDisplay<'a, Red, Self>
[src]
fn on_red<'a>(&'a self) -> BgColorDisplay<'a, Red, Self>
[src]
fn green<'a>(&'a self) -> FgColorDisplay<'a, Green, Self>
[src]
fn on_green<'a>(&'a self) -> BgColorDisplay<'a, Green, Self>
[src]
fn yellow<'a>(&'a self) -> FgColorDisplay<'a, Yellow, Self>
[src]
fn on_yellow<'a>(&'a self) -> BgColorDisplay<'a, Yellow, Self>
[src]
fn blue<'a>(&'a self) -> FgColorDisplay<'a, Blue, Self>
[src]
fn on_blue<'a>(&'a self) -> BgColorDisplay<'a, Blue, Self>
[src]
fn magenta<'a>(&'a self) -> FgColorDisplay<'a, Magenta, Self>
[src]
fn on_magenta<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
[src]
fn purple<'a>(&'a self) -> FgColorDisplay<'a, Magenta, Self>
[src]
fn on_purple<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
[src]
fn cyan<'a>(&'a self) -> FgColorDisplay<'a, Cyan, Self>
[src]
fn on_cyan<'a>(&'a self) -> BgColorDisplay<'a, Cyan, Self>
[src]
fn white<'a>(&'a self) -> FgColorDisplay<'a, White, Self>
[src]
fn on_white<'a>(&'a self) -> BgColorDisplay<'a, White, Self>
[src]
fn bright_black<'a>(&'a self) -> FgColorDisplay<'a, BrightBlack, Self>
[src]
fn on_bright_black<'a>(&'a self) -> BgColorDisplay<'a, BrightBlack, Self>
[src]
fn bright_red<'a>(&'a self) -> FgColorDisplay<'a, BrightRed, Self>
[src]
fn on_bright_red<'a>(&'a self) -> BgColorDisplay<'a, BrightRed, Self>
[src]
fn bright_green<'a>(&'a self) -> FgColorDisplay<'a, BrightGreen, Self>
[src]
fn on_bright_green<'a>(&'a self) -> BgColorDisplay<'a, BrightGreen, Self>
[src]
fn bright_yellow<'a>(&'a self) -> FgColorDisplay<'a, BrightYellow, Self>
[src]
fn on_bright_yellow<'a>(&'a self) -> BgColorDisplay<'a, BrightYellow, Self>
[src]
fn bright_blue<'a>(&'a self) -> FgColorDisplay<'a, BrightBlue, Self>
[src]
fn on_bright_blue<'a>(&'a self) -> BgColorDisplay<'a, BrightBlue, Self>
[src]
fn bright_magenta<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
[src]
fn on_bright_magenta<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
[src]
fn bright_purple<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
[src]
fn on_bright_purple<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
[src]
fn bright_cyan<'a>(&'a self) -> FgColorDisplay<'a, BrightCyan, Self>
[src]
fn on_bright_cyan<'a>(&'a self) -> BgColorDisplay<'a, BrightCyan, Self>
[src]
fn bright_white<'a>(&'a self) -> FgColorDisplay<'a, BrightWhite, Self>
[src]
fn on_bright_white<'a>(&'a self) -> BgColorDisplay<'a, BrightWhite, Self>
[src]
fn bold<'a>(&'a self) -> BoldDisplay<'a, Self>
[src]
fn dimmed<'a>(&'a self) -> DimDisplay<'a, Self>
[src]
fn italic<'a>(&'a self) -> ItalicDisplay<'a, Self>
[src]
fn underline<'a>(&'a self) -> UnderlineDisplay<'a, Self>
[src]
fn blink<'a>(&'a self) -> BlinkDisplay<'a, Self>
[src]
fn blink_fast<'a>(&'a self) -> BlinkFastDisplay<'a, Self>
[src]
fn reversed<'a>(&'a self) -> ReversedDisplay<'a, Self>
[src]
fn hidden<'a>(&'a self) -> HiddenDisplay<'a, Self>
[src]
fn strikethrough<'a>(&'a self) -> StrikeThroughDisplay<'a, Self>
[src]
fn color<'a, Color: DynColor>(
&'a self,
color: Color
) -> FgDynColorDisplay<'a, Color, Self>
[src]
&'a self,
color: Color
) -> FgDynColorDisplay<'a, Color, Self>
fn on_color<'a, Color: DynColor>(
&'a self,
color: Color
) -> BgDynColorDisplay<'a, Color, Self>
[src]
&'a self,
color: Color
) -> BgDynColorDisplay<'a, Color, Self>
fn fg_rgb<'a, const R: u8, const G: u8, const B: u8>(
&'a self
) -> FgColorDisplay<'a, CustomColor<R, G, B>, Self>
[src]
&'a self
) -> FgColorDisplay<'a, CustomColor<R, G, B>, Self>
fn bg_rgb<'a, const R: u8, const G: u8, const B: u8>(
&'a self
) -> BgColorDisplay<'a, CustomColor<R, G, B>, Self>
[src]
&'a self
) -> BgColorDisplay<'a, CustomColor<R, G, B>, Self>
fn truecolor<'a>(
&'a self,
r: u8,
g: u8,
b: u8
) -> FgDynColorDisplay<'a, Rgb, Self>
[src]
&'a self,
r: u8,
g: u8,
b: u8
) -> FgDynColorDisplay<'a, Rgb, Self>
fn on_truecolor<'a>(
&'a self,
r: u8,
g: u8,
b: u8
) -> BgDynColorDisplay<'a, Rgb, Self>
[src]
&'a self,
r: u8,
g: u8,
b: u8
) -> BgDynColorDisplay<'a, Rgb, Self>
fn style(&self, style: Style) -> Styled<&Self>
[src]
fn if_stdout_tty<'a, Out, ApplyFn>(
&'a self,
apply: ApplyFn
) -> TtyDisplay<'a, StdOut, Self, Out, ApplyFn> where
ApplyFn: Fn(&'a Self) -> Out,
[src]
&'a self,
apply: ApplyFn
) -> TtyDisplay<'a, StdOut, Self, Out, ApplyFn> where
ApplyFn: Fn(&'a Self) -> Out,
fn if_stderr_tty<'a, Out, ApplyFn>(
&'a self,
apply: ApplyFn
) -> TtyDisplay<'a, StdErr, Self, Out, ApplyFn> where
ApplyFn: Fn(&'a Self) -> Out,
[src]
&'a self,
apply: ApplyFn
) -> TtyDisplay<'a, StdErr, Self, Out, ApplyFn> where
ApplyFn: Fn(&'a Self) -> Out,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,