pub struct AnsiStyle;
Access to a terminal’s basic ANSI styling functionality.
Write styled text to the given writer.
TypeId
self
Returns the argument unchanged.
Calls U::from(self).
U::from(self)
That is, this conversion is whatever the implementation of From<T> for U chooses to do.
From<T> for U