Struct crossterm::style::SetForegroundColor [−][src]
pub struct SetForegroundColor(pub Color);
Expand description
Tuple Fields
0: Color
Trait Implementations
Write an ANSI representation of this command to the given writer. An ANSI code can manipulate the terminal by writing it to the terminal buffer. However, only Windows 10 and UNIX systems support this. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SetForegroundColor
impl Send for SetForegroundColor
impl Sync for SetForegroundColor
impl Unpin for SetForegroundColor
impl UnwindSafe for SetForegroundColor
Blanket Implementations
Mutably borrows from an owned value. Read more