This repository has been archived on 2022-04-04. You can view files and clone it, but cannot push or open issues or pull requests.
ludum-dare-50/rustdoc/colored/trait.Colorize.html

97 lines
62 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="The trait that enables something to be given color."><meta name="keywords" content="rust, rustlang, rust-lang, Colorize"><title>Colorize in colored - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../dark.css" disabled><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><script defer src="../main.js"></script>
<noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../favicon.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">&#9776;</div><a class="sidebar-logo" href="../colored/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.png" alt="logo"></div>
</a><h2 class="location">Trait Colorize</h2><div class="sidebar-elems"><div class="block items"><h3 class="sidebar-title"><a href="#required-methods">Required Methods</a></h3><div class="sidebar-links"><a href="#tymethod.blink">blink</a><a href="#tymethod.bold">bold</a><a href="#tymethod.clear">clear</a><a href="#tymethod.color">color</a><a href="#tymethod.dimmed">dimmed</a><a href="#tymethod.hidden">hidden</a><a href="#tymethod.italic">italic</a><a href="#tymethod.normal">normal</a><a href="#tymethod.on_color">on_color</a><a href="#tymethod.reverse">reverse</a><a href="#tymethod.reversed">reversed</a><a href="#tymethod.strikethrough">strikethrough</a><a href="#tymethod.underline">underline</a></div><h3 class="sidebar-title"><a href="#provided-methods">Provided Methods</a></h3><div class="sidebar-links"><a href="#method.black">black</a><a href="#method.blue">blue</a><a href="#method.bright_black">bright_black</a><a href="#method.bright_blue">bright_blue</a><a href="#method.bright_cyan">bright_cyan</a><a href="#method.bright_green">bright_green</a><a href="#method.bright_magenta">bright_magenta</a><a href="#method.bright_purple">bright_purple</a><a href="#method.bright_red">bright_red</a><a href="#method.bright_white">bright_white</a><a href="#method.bright_yellow">bright_yellow</a><a href="#method.cyan">cyan</a><a href="#method.green">green</a><a href="#method.magenta">magenta</a><a href="#method.on_black">on_black</a><a href="#method.on_blue">on_blue</a><a href="#method.on_bright_black">on_bright_black</a><a href="#method.on_bright_blue">on_bright_blue</a><a href="#method.on_bright_cyan">on_bright_cyan</a><a href="#method.on_bright_green">on_bright_green</a><a href="#method.on_bright_magenta">on_bright_magenta</a><a href="#method.on_bright_purple">on_bright_purple</a><a href="#method.on_bright_red">on_bright_red</a><a href="#method.on_bright_white">on_bright_white</a><a href="#method.on_bright_yellow">on_bright_yellow</a><a href="#method.on_cyan">on_cyan</a><a href="#method.on_green">on_green</a><a href="#method.on_magenta">on_magenta</a><a href="#method.on_purple">on_purple</a><a href="#method.on_red">on_red</a><a href="#method.on_white">on_white</a><a href="#method.on_yellow">on_yellow</a><a href="#method.purple">purple</a><a href="#method.red">red</a><a href="#method.white">white</a><a href="#method.yellow">yellow</a></div><h3 class="sidebar-title"><a href="#foreign-impls">Implementations on Foreign Types</a></h3><div class="sidebar-links"><a href="#impl-Colorize-for-%26%27a%20str">&amp;&#39;a str</a></div><h3 class="sidebar-title"><a href="#implementors">Implementors</a></h3></div><h2 class="location">Other items in<br><a href="index.html">colored</a></h2><div id="sidebar-vars" data-name="Colorize" data-ty="trait" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../colored/index.html"><img class="rust-logo" src="../rust-logo.png" alt="logo"></a><nav class="sub"><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><h1 class="fqn"><span class="in-band">Trait <a href="index.html">colored</a>::<wbr><a class="trait" href="#">Colorize</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../src/colored/lib.rs.html#62-298" title="goto source code">[src]</a></span></h1><div class="docblock item-decl"><pre class="rust trait"><code>pub trait Colorize {
<details class="rustdoc-toggle type-contents-toggle"><summary class="hideme"><span>Show 49 methods</span></summary> fn <a href="#tymethod.color" class="fnname">color</a>&lt;S:&nbsp;<a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="enum.Color.html" title="enum colored::Color">Color</a>&gt;&gt;(self, color: S) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a>;
<div class="item-spacer"></div> fn <a href="#tymethod.on_color" class="fnname">on_color</a>&lt;S:&nbsp;<a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="enum.Color.html" title="enum colored::Color">Color</a>&gt;&gt;(self, color: S) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a>;
<div class="item-spacer"></div> fn <a href="#tymethod.clear" class="fnname">clear</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a>;
<div class="item-spacer"></div> fn <a href="#tymethod.normal" class="fnname">normal</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a>;
<div class="item-spacer"></div> fn <a href="#tymethod.bold" class="fnname">bold</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a>;
<div class="item-spacer"></div> fn <a href="#tymethod.dimmed" class="fnname">dimmed</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a>;
<div class="item-spacer"></div> fn <a href="#tymethod.italic" class="fnname">italic</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a>;
<div class="item-spacer"></div> fn <a href="#tymethod.underline" class="fnname">underline</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a>;
<div class="item-spacer"></div> fn <a href="#tymethod.blink" class="fnname">blink</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a>;
<div class="item-spacer"></div> fn <a href="#tymethod.reverse" class="fnname">reverse</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a>;
<div class="item-spacer"></div> fn <a href="#tymethod.reversed" class="fnname">reversed</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a>;
<div class="item-spacer"></div> fn <a href="#tymethod.hidden" class="fnname">hidden</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a>;
<div class="item-spacer"></div> fn <a href="#tymethod.strikethrough" class="fnname">strikethrough</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a>;
fn <a href="#method.black" class="fnname">black</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.red" class="fnname">red</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.green" class="fnname">green</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.yellow" class="fnname">yellow</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.blue" class="fnname">blue</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.magenta" class="fnname">magenta</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.purple" class="fnname">purple</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.cyan" class="fnname">cyan</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.white" class="fnname">white</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.bright_black" class="fnname">bright_black</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.bright_red" class="fnname">bright_red</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.bright_green" class="fnname">bright_green</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.bright_yellow" class="fnname">bright_yellow</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.bright_blue" class="fnname">bright_blue</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.bright_magenta" class="fnname">bright_magenta</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.bright_purple" class="fnname">bright_purple</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.bright_cyan" class="fnname">bright_cyan</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.bright_white" class="fnname">bright_white</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.on_black" class="fnname">on_black</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.on_red" class="fnname">on_red</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.on_green" class="fnname">on_green</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.on_yellow" class="fnname">on_yellow</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.on_blue" class="fnname">on_blue</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.on_magenta" class="fnname">on_magenta</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.on_purple" class="fnname">on_purple</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.on_cyan" class="fnname">on_cyan</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.on_white" class="fnname">on_white</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.on_bright_black" class="fnname">on_bright_black</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.on_bright_red" class="fnname">on_bright_red</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.on_bright_green" class="fnname">on_bright_green</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.on_bright_yellow" class="fnname">on_bright_yellow</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.on_bright_blue" class="fnname">on_bright_blue</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.on_bright_magenta" class="fnname">on_bright_magenta</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.on_bright_purple" class="fnname">on_bright_purple</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.on_bright_cyan" class="fnname">on_bright_cyan</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
<div class="item-spacer"></div> fn <a href="#method.on_bright_white" class="fnname">on_bright_white</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a><br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>,
{ ... }
</details>}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The trait that enables something to be given color.</p>
<p>You can use <code>colored</code> effectively simply by importing this trait
and then using its methods on <code>String</code> and <code>&amp;str</code>.</p>
</div></details><h2 id="required-methods" class="small-section-header">Required methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><div id="tymethod.color" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#172" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#tymethod.color" class="fnname">color</a>&lt;S:&nbsp;<a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="enum.Color.html" title="enum colored::Color">Color</a>&gt;&gt;(self, color: S) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="tymethod.on_color" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#282" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#tymethod.on_color" class="fnname">on_color</a>&lt;S:&nbsp;<a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="enum.Color.html" title="enum colored::Color">Color</a>&gt;&gt;(self, color: S) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="tymethod.clear" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#284" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#tymethod.clear" class="fnname">clear</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="tymethod.normal" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#285" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#tymethod.normal" class="fnname">normal</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="tymethod.bold" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#286" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#tymethod.bold" class="fnname">bold</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="tymethod.dimmed" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#287" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#tymethod.dimmed" class="fnname">dimmed</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="tymethod.italic" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#288" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#tymethod.italic" class="fnname">italic</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="tymethod.underline" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#289" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#tymethod.underline" class="fnname">underline</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="tymethod.blink" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#290" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#tymethod.blink" class="fnname">blink</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><details class="rustdoc-toggle" open><summary><div id="tymethod.reverse" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#293" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#tymethod.reverse" class="fnname">reverse</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div></summary><div class="docblock"><p>Historical name of <code>Colorize::reversed</code>. May be removed in a future version. Please use
<code>Colorize::reversed</code> instead</p>
</div></details><details class="rustdoc-toggle" open><summary><div id="tymethod.reversed" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#295" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#tymethod.reversed" class="fnname">reversed</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div></summary><div class="docblock"><p>This should be preferred to <code>Colorize::reverse</code>.</p>
</div></details><div id="tymethod.hidden" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#296" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#tymethod.hidden" class="fnname">hidden</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="tymethod.strikethrough" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#297" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#tymethod.strikethrough" class="fnname">strikethrough</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div></div><h2 id="provided-methods" class="small-section-header">Provided methods<a href="#provided-methods" class="anchor"></a></h2><div class="methods"><div id="method.black" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#64-69" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.black" class="fnname">black</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.red" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#70-75" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.red" class="fnname">red</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.green" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#76-81" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.green" class="fnname">green</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.yellow" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#82-87" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.yellow" class="fnname">yellow</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.blue" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#88-93" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.blue" class="fnname">blue</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.magenta" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#94-99" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.magenta" class="fnname">magenta</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.purple" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#100-105" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.purple" class="fnname">purple</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.cyan" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#106-111" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.cyan" class="fnname">cyan</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.white" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#112-117" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.white" class="fnname">white</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.bright_black" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#118-123" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.bright_black" class="fnname">bright_black</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.bright_red" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#124-129" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.bright_red" class="fnname">bright_red</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.bright_green" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#130-135" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.bright_green" class="fnname">bright_green</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.bright_yellow" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#136-141" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.bright_yellow" class="fnname">bright_yellow</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.bright_blue" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#142-147" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.bright_blue" class="fnname">bright_blue</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.bright_magenta" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#148-153" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.bright_magenta" class="fnname">bright_magenta</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.bright_purple" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#154-159" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.bright_purple" class="fnname">bright_purple</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.bright_cyan" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#160-165" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.bright_cyan" class="fnname">bright_cyan</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.bright_white" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#166-171" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.bright_white" class="fnname">bright_white</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.on_black" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#174-179" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.on_black" class="fnname">on_black</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.on_red" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#180-185" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.on_red" class="fnname">on_red</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.on_green" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#186-191" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.on_green" class="fnname">on_green</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.on_yellow" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#192-197" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.on_yellow" class="fnname">on_yellow</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.on_blue" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#198-203" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.on_blue" class="fnname">on_blue</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.on_magenta" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#204-209" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.on_magenta" class="fnname">on_magenta</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.on_purple" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#210-215" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.on_purple" class="fnname">on_purple</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.on_cyan" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#216-221" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.on_cyan" class="fnname">on_cyan</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.on_white" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#222-227" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.on_white" class="fnname">on_white</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.on_bright_black" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#228-233" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.on_bright_black" class="fnname">on_bright_black</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.on_bright_red" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#234-239" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.on_bright_red" class="fnname">on_bright_red</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.on_bright_green" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#240-245" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.on_bright_green" class="fnname">on_bright_green</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.on_bright_yellow" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#246-251" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.on_bright_yellow" class="fnname">on_bright_yellow</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.on_bright_blue" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#252-257" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.on_bright_blue" class="fnname">on_bright_blue</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.on_bright_magenta" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#258-263" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.on_bright_magenta" class="fnname">on_bright_magenta</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.on_bright_purple" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#264-269" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.on_bright_purple" class="fnname">on_bright_purple</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.on_bright_cyan" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#270-275" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.on_bright_cyan" class="fnname">on_bright_cyan</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div><div id="method.on_bright_white" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#276-281" title="goto source code">[src]</a></div><h4 class="code-header">fn <a href="#method.on_bright_white" class="fnname">on_bright_white</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.59.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h4></div></div><h2 id="foreign-impls" class="small-section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor"></a></h2><details class="rustdoc-toggle implementors-toggle"><summary><div id="impl-Colorize-for-%26%27a%20str" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#512-566" title="goto source code">[src]</a></div><a href="#impl-Colorize-for-%26%27a%20str" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a&gt; <a class="trait" href="trait.Colorize.html" title="trait colored::Colorize">Colorize</a> for &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.59.0/std/primitive.str.html">str</a></h3></div></summary><div class="impl-items"><div id="method.color" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#513-519" title="goto source code">[src]</a></div><a href="#method.color" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.color" class="fnname">color</a>&lt;S:&nbsp;<a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="enum.Color.html" title="enum colored::Color">Color</a>&gt;&gt;(self, color: S) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="method.on_color" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#521-527" title="goto source code">[src]</a></div><a href="#method.on_color" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.on_color" class="fnname">on_color</a>&lt;S:&nbsp;<a class="trait" href="https://doc.rust-lang.org/1.59.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="enum.Color.html" title="enum colored::Color">Color</a>&gt;&gt;(self, color: S) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="method.clear" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#529-535" title="goto source code">[src]</a></div><a href="#method.clear" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.clear" class="fnname">clear</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="method.normal" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#536-538" title="goto source code">[src]</a></div><a href="#method.normal" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.normal" class="fnname">normal</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="method.bold" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#539-541" title="goto source code">[src]</a></div><a href="#method.bold" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.bold" class="fnname">bold</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="method.dimmed" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#542-544" title="goto source code">[src]</a></div><a href="#method.dimmed" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.dimmed" class="fnname">dimmed</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="method.italic" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#545-547" title="goto source code">[src]</a></div><a href="#method.italic" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.italic" class="fnname">italic</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="method.underline" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#548-550" title="goto source code">[src]</a></div><a href="#method.underline" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.underline" class="fnname">underline</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="method.blink" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#551-553" title="goto source code">[src]</a></div><a href="#method.blink" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.blink" class="fnname">blink</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="method.reverse" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#554-556" title="goto source code">[src]</a></div><a href="#method.reverse" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.reverse" class="fnname">reverse</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="method.reversed" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#557-559" title="goto source code">[src]</a></div><a href="#method.reversed" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.reversed" class="fnname">reversed</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="method.hidden" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#560-562" title="goto source code">[src]</a></div><a href="#method.hidden" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.hidden" class="fnname">hidden</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div><div id="method.strikethrough" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#563-565" title="goto source code">[src]</a></div><a href="#method.strikethrough" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.strikethrough" class="fnname">strikethrough</a>(self) -&gt; <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h4></div></div></details><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><div id="impl-Colorize" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/colored/lib.rs.html#456-510" title="goto source code">[src]</a></div><a href="#impl-Colorize" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Colorize.html" title="trait colored::Colorize">Colorize</a> for <a class="struct" href="struct.ColoredString.html" title="struct colored::ColoredString">ColoredString</a></h3></div></div><script type="text/javascript" src="../implementors/colored/trait.Colorize.js" async></script></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../" data-current-crate="colored" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.59.0 (9d1b2106e 2022-02-23)" ></div>
</body></html>