Enum cursive_core::theme::Effect
source · 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§
source§impl EnumSetTypePrivate for Effect
impl EnumSetTypePrivate for Effect
source§const ALL_BITS: Self::Repr = {transmute(0xff): <theme::effect::Effect as enumset::__internal::EnumSetTypePrivate>::Repr}
const ALL_BITS: Self::Repr = {transmute(0xff): <theme::effect::Effect as enumset::__internal::EnumSetTypePrivate>::Repr}
A mask of bits that are valid in the bitset.
source§fn enum_into_u32(self) -> u32
fn enum_into_u32(self) -> u32
Converts an enum of this type into its bit position.
source§unsafe fn enum_from_u32(val: u32) -> Self
unsafe fn enum_from_u32(val: u32) -> Self
Converts a bit position into an enum value.