pub fn stdout() -> Colors<Stdout> ⓘ
Expand description
Convenience function that wraps std::io::Stdout
in aColors
instance
Examples found in repository?
examples/hipsum.rs (line 6)
4fn run() -> io::Result<()> {
5 write!(
6 &mut rainbowcoat::stdout(),
7 "Kombucha cray keffiyeh freegan hammock bushwick kitsch gochujang pinterest listicle man bun actually.
8Pickled austin tilde raw denim bicycle rights. Trust fund echo park cliche, artisan cold-pressed gluten-free
9hammock put a bird on it live-edge banh mi microdosing marfa chillwave unicorn vape. Kogi chambray master cleanse
10locavore. Fixie plaid intelligentsia tumeric, single-origin coffee shaman hell of hexagon freegan. Taxidermy retro
11irony, poke prism iPhone actually glossier dreamcatcher kombucha bitters cornhole. Tumblr retro skateboard helvetica
12chicharrones meggings four dollar toast yr lumbersexual 90's sriracha. Pug pop-up williamsburg, lomo distillery pork belly
13coloring book PBR&B readymade waistcoat church-key glossier austin tbh fam. Kale chips four dollar toast gochujang swag fashion axe.
14Truffaut la croix gochujang, helvetica kogi PBR&B locavore. Wayfarers snackwave fashion axe, retro fixie stumptown readymade yuccie
15skateboard microdosing you probably haven't heard of them mumblecore portland waistcoat."
16 )?;
17 Ok(())
18}