pub struct TextCharacterPropertiesBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> TextCharacterPropertiesBuilder<S>
 
impl<S: State> TextCharacterPropertiesBuilder<S>
Sourcepub fn build(self) -> TextCharacterPropertieswhere
    S: IsComplete,
 
pub fn build(self) -> TextCharacterPropertieswhere
    S: IsComplete,
Finish building and return the requested object
Sourcepub fn baseline(
    self,
    value: String,
) -> TextCharacterPropertiesBuilder<SetBaseline<S>>where
    S::Baseline: IsUnset,
 
pub fn baseline(
    self,
    value: String,
) -> TextCharacterPropertiesBuilder<SetBaseline<S>>where
    S::Baseline: IsUnset,
Sourcepub fn maybe_baseline(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetBaseline<S>>where
    S::Baseline: IsUnset,
 
pub fn maybe_baseline(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetBaseline<S>>where
    S::Baseline: IsUnset,
Sourcepub fn bold(self, value: String) -> TextCharacterPropertiesBuilder<SetBold<S>>where
    S::Bold: IsUnset,
 
pub fn bold(self, value: String) -> TextCharacterPropertiesBuilder<SetBold<S>>where
    S::Bold: IsUnset,
Sourcepub fn maybe_bold(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetBold<S>>where
    S::Bold: IsUnset,
 
pub fn maybe_bold(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetBold<S>>where
    S::Bold: IsUnset,
Sourcepub fn capitalization(
    self,
    value: Capitalization,
) -> TextCharacterPropertiesBuilder<SetCapitalization<S>>where
    S::Capitalization: IsUnset,
 
pub fn capitalization(
    self,
    value: Capitalization,
) -> TextCharacterPropertiesBuilder<SetCapitalization<S>>where
    S::Capitalization: IsUnset,
Sourcepub fn maybe_capitalization(
    self,
    value: Option<Capitalization>,
) -> TextCharacterPropertiesBuilder<SetCapitalization<S>>where
    S::Capitalization: IsUnset,
 
pub fn maybe_capitalization(
    self,
    value: Option<Capitalization>,
) -> TextCharacterPropertiesBuilder<SetCapitalization<S>>where
    S::Capitalization: IsUnset,
Sourcepub fn dirty(self, value: String) -> TextCharacterPropertiesBuilder<SetDirty<S>>where
    S::Dirty: IsUnset,
 
pub fn dirty(self, value: String) -> TextCharacterPropertiesBuilder<SetDirty<S>>where
    S::Dirty: IsUnset,
Sourcepub fn maybe_dirty(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetDirty<S>>where
    S::Dirty: IsUnset,
 
pub fn maybe_dirty(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetDirty<S>>where
    S::Dirty: IsUnset,
Sourcepub fn italic(
    self,
    value: String,
) -> TextCharacterPropertiesBuilder<SetItalic<S>>where
    S::Italic: IsUnset,
 
pub fn italic(
    self,
    value: String,
) -> TextCharacterPropertiesBuilder<SetItalic<S>>where
    S::Italic: IsUnset,
Sourcepub fn maybe_italic(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetItalic<S>>where
    S::Italic: IsUnset,
 
pub fn maybe_italic(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetItalic<S>>where
    S::Italic: IsUnset,
Sourcepub fn kerning(
    self,
    value: String,
) -> TextCharacterPropertiesBuilder<SetKerning<S>>where
    S::Kerning: IsUnset,
 
pub fn kerning(
    self,
    value: String,
) -> TextCharacterPropertiesBuilder<SetKerning<S>>where
    S::Kerning: IsUnset,
Sourcepub fn maybe_kerning(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetKerning<S>>where
    S::Kerning: IsUnset,
 
pub fn maybe_kerning(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetKerning<S>>where
    S::Kerning: IsUnset,
Sourcepub fn kumimoji(
    self,
    value: String,
) -> TextCharacterPropertiesBuilder<SetKumimoji<S>>where
    S::Kumimoji: IsUnset,
 
pub fn kumimoji(
    self,
    value: String,
) -> TextCharacterPropertiesBuilder<SetKumimoji<S>>where
    S::Kumimoji: IsUnset,
Sourcepub fn maybe_kumimoji(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetKumimoji<S>>where
    S::Kumimoji: IsUnset,
 
pub fn maybe_kumimoji(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetKumimoji<S>>where
    S::Kumimoji: IsUnset,
Sourcepub fn language(
    self,
    value: String,
) -> TextCharacterPropertiesBuilder<SetLanguage<S>>where
    S::Language: IsUnset,
 
pub fn language(
    self,
    value: String,
) -> TextCharacterPropertiesBuilder<SetLanguage<S>>where
    S::Language: IsUnset,
Sourcepub fn maybe_language(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetLanguage<S>>where
    S::Language: IsUnset,
 
pub fn maybe_language(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetLanguage<S>>where
    S::Language: IsUnset,
Sourcepub fn no_proofing(
    self,
    value: String,
) -> TextCharacterPropertiesBuilder<SetNoProofing<S>>where
    S::NoProofing: IsUnset,
 
pub fn no_proofing(
    self,
    value: String,
) -> TextCharacterPropertiesBuilder<SetNoProofing<S>>where
    S::NoProofing: IsUnset,
Sourcepub fn maybe_no_proofing(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetNoProofing<S>>where
    S::NoProofing: IsUnset,
 
pub fn maybe_no_proofing(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetNoProofing<S>>where
    S::NoProofing: IsUnset,
Sourcepub fn normalize_heights(
    self,
    value: String,
) -> TextCharacterPropertiesBuilder<SetNormalizeHeights<S>>where
    S::NormalizeHeights: IsUnset,
 
pub fn normalize_heights(
    self,
    value: String,
) -> TextCharacterPropertiesBuilder<SetNormalizeHeights<S>>where
    S::NormalizeHeights: IsUnset,
Sourcepub fn maybe_normalize_heights(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetNormalizeHeights<S>>where
    S::NormalizeHeights: IsUnset,
 
pub fn maybe_normalize_heights(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetNormalizeHeights<S>>where
    S::NormalizeHeights: IsUnset,
Sourcepub fn spacing(
    self,
    value: String,
) -> TextCharacterPropertiesBuilder<SetSpacing<S>>where
    S::Spacing: IsUnset,
 
pub fn spacing(
    self,
    value: String,
) -> TextCharacterPropertiesBuilder<SetSpacing<S>>where
    S::Spacing: IsUnset,
Sourcepub fn maybe_spacing(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetSpacing<S>>where
    S::Spacing: IsUnset,
 
pub fn maybe_spacing(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetSpacing<S>>where
    S::Spacing: IsUnset,
Sourcepub fn size(self, value: String) -> TextCharacterPropertiesBuilder<SetSize<S>>where
    S::Size: IsUnset,
 
pub fn size(self, value: String) -> TextCharacterPropertiesBuilder<SetSize<S>>where
    S::Size: IsUnset,
Sourcepub fn maybe_size(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetSize<S>>where
    S::Size: IsUnset,
 
pub fn maybe_size(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetSize<S>>where
    S::Size: IsUnset,
Sourcepub fn strikethrough(
    self,
    value: Strikethrough,
) -> TextCharacterPropertiesBuilder<SetStrikethrough<S>>where
    S::Strikethrough: IsUnset,
 
pub fn strikethrough(
    self,
    value: Strikethrough,
) -> TextCharacterPropertiesBuilder<SetStrikethrough<S>>where
    S::Strikethrough: IsUnset,
Sourcepub fn maybe_strikethrough(
    self,
    value: Option<Strikethrough>,
) -> TextCharacterPropertiesBuilder<SetStrikethrough<S>>where
    S::Strikethrough: IsUnset,
 
pub fn maybe_strikethrough(
    self,
    value: Option<Strikethrough>,
) -> TextCharacterPropertiesBuilder<SetStrikethrough<S>>where
    S::Strikethrough: IsUnset,
Sourcepub fn underline(
    self,
    value: String,
) -> TextCharacterPropertiesBuilder<SetUnderline<S>>where
    S::Underline: IsUnset,
 
pub fn underline(
    self,
    value: String,
) -> TextCharacterPropertiesBuilder<SetUnderline<S>>where
    S::Underline: IsUnset,
Sourcepub fn maybe_underline(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetUnderline<S>>where
    S::Underline: IsUnset,
 
pub fn maybe_underline(
    self,
    value: Option<String>,
) -> TextCharacterPropertiesBuilder<SetUnderline<S>>where
    S::Underline: IsUnset,
Sourcepub fn line(self, value: Line) -> TextCharacterPropertiesBuilder<SetLine<S>>where
    S::Line: IsUnset,
 
pub fn line(self, value: Line) -> TextCharacterPropertiesBuilder<SetLine<S>>where
    S::Line: IsUnset,
Sourcepub fn maybe_line(
    self,
    value: Option<Line>,
) -> TextCharacterPropertiesBuilder<SetLine<S>>where
    S::Line: IsUnset,
 
pub fn maybe_line(
    self,
    value: Option<Line>,
) -> TextCharacterPropertiesBuilder<SetLine<S>>where
    S::Line: IsUnset,
Sourcepub fn effect_list(
    self,
    value: EffectContainer,
) -> TextCharacterPropertiesBuilder<SetEffectList<S>>where
    S::EffectList: IsUnset,
 
pub fn effect_list(
    self,
    value: EffectContainer,
) -> TextCharacterPropertiesBuilder<SetEffectList<S>>where
    S::EffectList: IsUnset,
Sourcepub fn maybe_effect_list(
    self,
    value: Option<EffectContainer>,
) -> TextCharacterPropertiesBuilder<SetEffectList<S>>where
    S::EffectList: IsUnset,
 
pub fn maybe_effect_list(
    self,
    value: Option<EffectContainer>,
) -> TextCharacterPropertiesBuilder<SetEffectList<S>>where
    S::EffectList: IsUnset,
Sourcepub fn underline_follows_text(
    self,
    value: UnderlineFollowsText,
) -> TextCharacterPropertiesBuilder<SetUnderlineFollowsText<S>>where
    S::UnderlineFollowsText: IsUnset,
 
pub fn underline_follows_text(
    self,
    value: UnderlineFollowsText,
) -> TextCharacterPropertiesBuilder<SetUnderlineFollowsText<S>>where
    S::UnderlineFollowsText: IsUnset,
Sourcepub fn maybe_underline_follows_text(
    self,
    value: Option<UnderlineFollowsText>,
) -> TextCharacterPropertiesBuilder<SetUnderlineFollowsText<S>>where
    S::UnderlineFollowsText: IsUnset,
 
pub fn maybe_underline_follows_text(
    self,
    value: Option<UnderlineFollowsText>,
) -> TextCharacterPropertiesBuilder<SetUnderlineFollowsText<S>>where
    S::UnderlineFollowsText: IsUnset,
Sourcepub fn underline_stroke(
    self,
    value: UnderlineStroke,
) -> TextCharacterPropertiesBuilder<SetUnderlineStroke<S>>where
    S::UnderlineStroke: IsUnset,
 
pub fn underline_stroke(
    self,
    value: UnderlineStroke,
) -> TextCharacterPropertiesBuilder<SetUnderlineStroke<S>>where
    S::UnderlineStroke: IsUnset,
Sourcepub fn maybe_underline_stroke(
    self,
    value: Option<UnderlineStroke>,
) -> TextCharacterPropertiesBuilder<SetUnderlineStroke<S>>where
    S::UnderlineStroke: IsUnset,
 
pub fn maybe_underline_stroke(
    self,
    value: Option<UnderlineStroke>,
) -> TextCharacterPropertiesBuilder<SetUnderlineStroke<S>>where
    S::UnderlineStroke: IsUnset,
Sourcepub fn underline_fill_properties_follow_text(
    self,
    value: UnderlineFillPropertiesFollowText,
) -> TextCharacterPropertiesBuilder<SetUnderlineFillPropertiesFollowText<S>>where
    S::UnderlineFillPropertiesFollowText: IsUnset,
 
pub fn underline_fill_properties_follow_text(
    self,
    value: UnderlineFillPropertiesFollowText,
) -> TextCharacterPropertiesBuilder<SetUnderlineFillPropertiesFollowText<S>>where
    S::UnderlineFillPropertiesFollowText: IsUnset,
Sourcepub fn maybe_underline_fill_properties_follow_text(
    self,
    value: Option<UnderlineFillPropertiesFollowText>,
) -> TextCharacterPropertiesBuilder<SetUnderlineFillPropertiesFollowText<S>>where
    S::UnderlineFillPropertiesFollowText: IsUnset,
 
pub fn maybe_underline_fill_properties_follow_text(
    self,
    value: Option<UnderlineFillPropertiesFollowText>,
) -> TextCharacterPropertiesBuilder<SetUnderlineFillPropertiesFollowText<S>>where
    S::UnderlineFillPropertiesFollowText: IsUnset,
Sourcepub fn underline_fill(
    self,
    value: UnderlineFill,
) -> TextCharacterPropertiesBuilder<SetUnderlineFill<S>>where
    S::UnderlineFill: IsUnset,
 
pub fn underline_fill(
    self,
    value: UnderlineFill,
) -> TextCharacterPropertiesBuilder<SetUnderlineFill<S>>where
    S::UnderlineFill: IsUnset,
Sourcepub fn maybe_underline_fill(
    self,
    value: Option<UnderlineFill>,
) -> TextCharacterPropertiesBuilder<SetUnderlineFill<S>>where
    S::UnderlineFill: IsUnset,
 
pub fn maybe_underline_fill(
    self,
    value: Option<UnderlineFill>,
) -> TextCharacterPropertiesBuilder<SetUnderlineFill<S>>where
    S::UnderlineFill: IsUnset,
Sourcepub fn font_complex_script(
    self,
    value: FontComplexScript,
) -> TextCharacterPropertiesBuilder<SetFontComplexScript<S>>where
    S::FontComplexScript: IsUnset,
 
pub fn font_complex_script(
    self,
    value: FontComplexScript,
) -> TextCharacterPropertiesBuilder<SetFontComplexScript<S>>where
    S::FontComplexScript: IsUnset,
Sourcepub fn maybe_font_complex_script(
    self,
    value: Option<FontComplexScript>,
) -> TextCharacterPropertiesBuilder<SetFontComplexScript<S>>where
    S::FontComplexScript: IsUnset,
 
pub fn maybe_font_complex_script(
    self,
    value: Option<FontComplexScript>,
) -> TextCharacterPropertiesBuilder<SetFontComplexScript<S>>where
    S::FontComplexScript: IsUnset,
Sourcepub fn font_east_asian(
    self,
    value: FontEastAsian,
) -> TextCharacterPropertiesBuilder<SetFontEastAsian<S>>where
    S::FontEastAsian: IsUnset,
 
pub fn font_east_asian(
    self,
    value: FontEastAsian,
) -> TextCharacterPropertiesBuilder<SetFontEastAsian<S>>where
    S::FontEastAsian: IsUnset,
Sourcepub fn maybe_font_east_asian(
    self,
    value: Option<FontEastAsian>,
) -> TextCharacterPropertiesBuilder<SetFontEastAsian<S>>where
    S::FontEastAsian: IsUnset,
 
pub fn maybe_font_east_asian(
    self,
    value: Option<FontEastAsian>,
) -> TextCharacterPropertiesBuilder<SetFontEastAsian<S>>where
    S::FontEastAsian: IsUnset,
Sourcepub fn font_symbol(
    self,
    value: FontSymbol,
) -> TextCharacterPropertiesBuilder<SetFontSymbol<S>>where
    S::FontSymbol: IsUnset,
 
pub fn font_symbol(
    self,
    value: FontSymbol,
) -> TextCharacterPropertiesBuilder<SetFontSymbol<S>>where
    S::FontSymbol: IsUnset,
Sourcepub fn maybe_font_symbol(
    self,
    value: Option<FontSymbol>,
) -> TextCharacterPropertiesBuilder<SetFontSymbol<S>>where
    S::FontSymbol: IsUnset,
 
pub fn maybe_font_symbol(
    self,
    value: Option<FontSymbol>,
) -> TextCharacterPropertiesBuilder<SetFontSymbol<S>>where
    S::FontSymbol: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for TextCharacterPropertiesBuilder<S>
impl<S> RefUnwindSafe for TextCharacterPropertiesBuilder<S>
impl<S> Send for TextCharacterPropertiesBuilder<S>
impl<S> Sync for TextCharacterPropertiesBuilder<S>
impl<S> Unpin for TextCharacterPropertiesBuilder<S>
impl<S> UnwindSafe for TextCharacterPropertiesBuilder<S>
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
§impl<T> Instrument for T
 
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
 
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<D> OwoColorize for D
 
impl<D> OwoColorize for D
§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
    C: Color,
 
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
    C: Color,
Set the foreground color generically Read more
§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
    C: Color,
 
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
    C: Color,
Set the background color generically. Read more
§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
 
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
Change the background color to magenta
§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
 
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
Change the foreground color to the terminal default
§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
 
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
Change the background color to the terminal default
§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
 
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
Change the foreground color to bright black
§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
 
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
Change the background color to bright black
§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
 
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
Change the foreground color to bright red
§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
 
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
Change the background color to bright red
§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
 
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
Change the foreground color to bright green
§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
 
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
Change the background color to bright green
§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
 
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
Change the foreground color to bright yellow
§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
 
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
Change the background color to bright yellow
§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
 
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
Change the foreground color to bright blue
§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
 
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
Change the background color to bright blue
§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
 
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Change the foreground color to bright magenta
§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
 
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Change the background color to bright magenta
§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
 
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Change the foreground color to bright purple
§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
 
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Change the background color to bright purple
§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
 
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
Change the foreground color to bright cyan
§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
 
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
Change the background color to bright cyan
§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
 
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
Change the foreground color to bright white
§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
 
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
Change the background color to bright white
§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
 
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
Make the text blink (but fast!)
Hide the text
§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
 
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
Cross out the text
§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
    Color: DynColor,
 
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
    Color: DynColor,
Set the foreground color at runtime. Only use if you do not know which color will be used at
compile-time. If the color is constant, use either [
OwoColorize::fg] or
a color-specific method, such as [OwoColorize::green], Read more§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
    Color: DynColor,
 
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
    Color: DynColor,
Set the background color at runtime. Only use if you do not know what color to use at
compile-time. If the color is constant, use either [
OwoColorize::bg] or
a color-specific method, such as [OwoColorize::on_yellow], Read more§fn fg_rgb<const R: u8, const G: u8, const B: u8>(
    &self,
) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
 
fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
Set the foreground color to a specific RGB value.
§fn bg_rgb<const R: u8, const G: u8, const B: u8>(
    &self,
) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
 
fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
Set the background color to a specific RGB value.
§fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
 
fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
Sets the foreground color to an RGB value.
§fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
 
fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
Sets the background color to an RGB value.