[][src]Struct ahum_dialoguer::theme::ColorfulTheme

pub struct ColorfulTheme {
    pub defaults_style: Style,
    pub error_style: Style,
    pub indicator_style: Style,
    pub inactive_style: Style,
    pub active_style: Style,
    pub yes_style: Style,
    pub no_style: Style,
    pub values_style: Style,
}

A colorful theme

Fields

defaults_style: Style

The style for default values in prompts and similar

error_style: Style

The style for errors indicators

indicator_style: Style

The style for user interface indicators

inactive_style: Style

The style for inactive elements

active_style: Style

The style for active elements

yes_style: Style

The style for values indicating "yes"

no_style: Style

The style for values indicating "no"

values_style: Style

The style for values embedded in prompts

Trait Implementations

impl Theme for ColorfulTheme[src]

fn format_password_prompt_selection(
    &self,
    f: &mut dyn Write,
    prompt: &str
) -> Result
[src]

Renders a prompt and multiple selections,

impl Default for ColorfulTheme[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]