Enum cursive::theme::Effect []

#[repr(u8)]
pub enum Effect { Simple, Reverse, Bold, Italic, Underline, }

Text effect

Variants

No effect

Reverses foreground and background colors

Prints foreground in bold

Prints foreground in italic

Prints foreground with underline

Trait Implementations

impl From<Effect> for Style
[src]

[src]

Performs the conversion.

impl Copy for Effect

impl Clone for Effect

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialOrd for Effect

This method returns an ordering between self and other values if one exists. Read more

1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for Effect

This method returns an Ordering between self and other. Read more

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl PartialEq for Effect

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for Effect

impl Hash for Effect

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Effect

Formats the value using the given formatter. Read more

impl EnumSetType for Effect

ZERO: Self::Repr = 0

ONE: Self::Repr = 1

VARIANT_COUNT: u8 = 0u8 + 1u8 + 1u8 + 1u8 + 1u8 + 1u8

impl BitOr<Effect> for Effect

The resulting type after applying the | operator.

Performs the | operation.

Auto Trait Implementations

impl Send for Effect

impl Sync for Effect