Expand description
Internal implementation details of stylish-core.
Do not depend on this crate directly.
Structs§
- Background
- A
Restyleimplementor for settingStyle::background. - Foreground
- A
Restyleimplementor for settingStyle::foreground. - Style
- A style to render text with, setting the foreground and background colors, along with intensity.
- Style
Diff - A diff between two styles.
Enums§
- Color
- A color that can be used with
Foregroundto modifyStyle::foregroundorBackgroundto modifyStyle::background. - Intensity
- An intensity to render text with, to emphasise or de-emphasise it as needed.
Traits§
- Restyle
- A trait for modifications to
Style, allowing an ergonomic API withStyle::withandstylish::Formatter::with.