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 Copy for Effect

impl Clone for Effect

Returns a copy of the value. Read more

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

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

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

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

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

Compares and returns the maximum of two values. Read more

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

This method tests for !=.

impl Eq for Effect

impl Hash for Effect

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

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<O: Into<EnumSet<Effect>>> Sub<O> for Effect

The resulting type after applying the - operator.

Performs the - operation.

impl<O: Into<EnumSet<Effect>>> BitAnd<O> for Effect

The resulting type after applying the & operator.

Performs the & operation.

impl<O: Into<EnumSet<Effect>>> BitOr<O> for Effect

The resulting type after applying the | operator.

Performs the | operation.

impl<O: Into<EnumSet<Effect>>> BitXor<O> for Effect

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl Not for Effect

The resulting type after applying the ! operator.

Performs the unary ! operation.

impl PartialEq<EnumSet<Effect>> for Effect

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

This method tests for !=.

impl From<Effect> for Style
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Effect

impl Sync for Effect