Struct crossterm::style::PrintStyledContent [−][src]
pub struct PrintStyledContent<D: Display>(pub StyledContent<D>);
Expand description
A command that prints styled content.
See StyledContent
for more info.
Notes
Commands must be executed/queued for execution otherwise they do nothing.
Tuple Fields
0: StyledContent<D>
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
Auto Trait Implementations
impl<D> RefUnwindSafe for PrintStyledContent<D> where
D: RefUnwindSafe,
impl<D> Send for PrintStyledContent<D> where
D: Send,
impl<D> Sync for PrintStyledContent<D> where
D: Sync,
impl<D> Unpin for PrintStyledContent<D> where
D: Unpin,
impl<D> UnwindSafe for PrintStyledContent<D> where
D: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more