[−][src]Struct owo_colors::BgDynColorDisplay
Wrapper around a type which implements all the formatters the wrapped type does, with the addition of changing the background color. Is not recommended unless compile-time coloring is not an option.
Trait Implementations
impl<'a, Color: DynColor, T: Binary> Binary for BgDynColorDisplay<'a, Color, T>
[src]
impl<'a, Color: DynColor, T: Debug> Debug for BgDynColorDisplay<'a, Color, T>
[src]
impl<'a, Color: DynColor, T: Display> Display for BgDynColorDisplay<'a, Color, T>
[src]
impl<'a, Color: DynColor, T: LowerExp> LowerExp for BgDynColorDisplay<'a, Color, T>
[src]
impl<'a, Color: DynColor, T: LowerHex> LowerHex for BgDynColorDisplay<'a, Color, T>
[src]
impl<'a, Color: DynColor, T: Octal> Octal for BgDynColorDisplay<'a, Color, T>
[src]
impl<'a, Color: DynColor, T: Pointer> Pointer for BgDynColorDisplay<'a, Color, T>
[src]
impl<'a, Color: DynColor, T: UpperExp> UpperExp for BgDynColorDisplay<'a, Color, T>
[src]
impl<'a, Color: DynColor, T: UpperHex> UpperHex for BgDynColorDisplay<'a, Color, T>
[src]
Auto Trait Implementations
impl<'a, Color, T> Send for BgDynColorDisplay<'a, Color, T> where
Color: Send,
T: Sync,
[src]
Color: Send,
T: Sync,
impl<'a, Color, T> Sync for BgDynColorDisplay<'a, Color, T> where
Color: Sync,
T: Sync,
[src]
Color: Sync,
T: Sync,
impl<'a, Color, T> Unpin for BgDynColorDisplay<'a, Color, T> where
Color: Unpin,
[src]
Color: 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>,