Struct crossterm::style::Print [−][src]
pub struct Print<T: Display>(pub T);
Expand description
A command that prints the given displayable type.
Commands must be executed/queued for execution otherwise they do nothing.
Tuple Fields
0: T
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
Execute this command. Read more
Returns whether the ansi code representation of this command is supported by windows. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for Print<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Print<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more