Enum cursive::theme::Effect [−][src]
pub enum Effect {
Simple,
Reverse,
Dim,
Bold,
Italic,
Strikethrough,
Underline,
Blink,
}
Expand description
Text effect
Variants
Simple
No effect
Reverse
Reverses foreground and background colors
Dim
Prints foreground as “dim” or “faint” (has no effect for ncurses/pancurses/blt backends)
Bold
Prints foreground in bold
Italic
Prints foreground in italic
Strikethrough
Prints foreground with strikethrough (has no effect for ncurses and blt backends)
Underline
Prints foreground with underline
Blink
Foreground text blinks (background color is static).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Effect
impl UnwindSafe for Effect
Blanket Implementations
Mutably borrows from an owned value. Read more
Calls the given closure and return the result. Read more
Calls the given closure on self
.