Macros§
Structs§
- Attribute
- Emit
Backend - Emit
Colored - Emit
ForTest - Emit
Plain - Style
- Styled
Fragment - A StyledFragment is a concrete value that represents an implementation of StyledFragmentTrait.
- Styled
Line - A StyledLine is a list of StyledFragments, intended to be laid out on a single line
- Styled
Newline - Styled
String - A
StyledString
is the simplest implementation ofStyledFragment
, holding aString
and aStyle
.
Enums§
Traits§
- Emit
Backend Trait - An implementation of
EmitBackendTrait
takes a piece of styled text and emits it into the supplied std::fmt::Formatter. - Styled
Fragment Trait - A StyledFragmentTrait represents a fragment of content that can be emitted into an output stream (through an EmitBackend).
- ToStyled
String