Lines Matching refs:StyledObject
226 pub fn apply_to<D>(&self, val: D) -> StyledObject<D> { in apply_to()
227 StyledObject { in apply_to()
411 pub fn style<D>(val: D) -> StyledObject<D> { in style()
417 pub struct StyledObject<D> { struct
422 impl<D> StyledObject<D> { implementation
427 pub fn force_styling(mut self, value: bool) -> StyledObject<D> { in force_styling()
434 pub fn for_stderr(mut self) -> StyledObject<D> { in for_stderr()
443 pub fn for_stdout(mut self) -> StyledObject<D> { in for_stdout()
450 pub fn fg(mut self, color: Color) -> StyledObject<D> { in fg()
457 pub fn bg(mut self, color: Color) -> StyledObject<D> { in bg()
464 pub fn attr(mut self, attr: Attribute) -> StyledObject<D> { in attr()
470 pub fn black(self) -> StyledObject<D> { in black()
474 pub fn red(self) -> StyledObject<D> { in red()
478 pub fn green(self) -> StyledObject<D> { in green()
482 pub fn yellow(self) -> StyledObject<D> { in yellow()
486 pub fn blue(self) -> StyledObject<D> { in blue()
490 pub fn magenta(self) -> StyledObject<D> { in magenta()
494 pub fn cyan(self) -> StyledObject<D> { in cyan()
498 pub fn white(self) -> StyledObject<D> { in white()
502 pub fn color256(self, color: u8) -> StyledObject<D> { in color256()
507 pub fn bright(mut self) -> StyledObject<D> { in bright()
513 pub fn on_black(self) -> StyledObject<D> { in on_black()
517 pub fn on_red(self) -> StyledObject<D> { in on_red()
521 pub fn on_green(self) -> StyledObject<D> { in on_green()
525 pub fn on_yellow(self) -> StyledObject<D> { in on_yellow()
529 pub fn on_blue(self) -> StyledObject<D> { in on_blue()
533 pub fn on_magenta(self) -> StyledObject<D> { in on_magenta()
537 pub fn on_cyan(self) -> StyledObject<D> { in on_cyan()
541 pub fn on_white(self) -> StyledObject<D> { in on_white()
545 pub fn on_color256(self, color: u8) -> StyledObject<D> { in on_color256()
550 pub fn on_bright(mut self) -> StyledObject<D> { in on_bright()
556 pub fn bold(self) -> StyledObject<D> { in bold()
560 pub fn dim(self) -> StyledObject<D> { in dim()
564 pub fn italic(self) -> StyledObject<D> { in italic()
568 pub fn underlined(self) -> StyledObject<D> { in underlined()
572 pub fn blink(self) -> StyledObject<D> { in blink()
576 pub fn reverse(self) -> StyledObject<D> { in reverse()
580 pub fn hidden(self) -> StyledObject<D> { in hidden()
587 impl<D: fmt::$name> fmt::$name for StyledObject<D> {