Struct termimad::StyledChar [−][src]
pub struct StyledChar { /* fields omitted */ }
Expand description
A modifiable character which can be easily written or repeated. Can be used for bullets, horizontal rules or quote marks.
Implementations
Change the fg color, keeping the char, bg color and attributes
Change the bg color, keeping the char, fg color and attributes
Change the style (colors, attributes) of the styled char
Return a struct implementing Display
, made of a (optimized) repetition
of the character with its style.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StyledChar
impl Send for StyledChar
impl Sync for StyledChar
impl Unpin for StyledChar
impl UnwindSafe for StyledChar
Blanket Implementations
Mutably borrows from an owned value. Read more