[][src]Struct newt::Colors

pub struct Colors<'a> {
    pub root_fg: &'a str,
    pub root_bg: &'a str,
    pub border_fg: &'a str,
    pub border_bg: &'a str,
    pub window_fg: &'a str,
    pub window_bg: &'a str,
    pub shadow_fg: &'a str,
    pub shadow_bg: &'a str,
    pub title_fg: &'a str,
    pub title_bg: &'a str,
    pub button_fg: &'a str,
    pub button_bg: &'a str,
    pub act_button_fg: &'a str,
    pub act_button_bg: &'a str,
    pub checkbox_fg: &'a str,
    pub checkbox_bg: &'a str,
    pub act_checkbox_fg: &'a str,
    pub act_checkbox_bg: &'a str,
    pub entry_fg: &'a str,
    pub entry_bg: &'a str,
    pub label_fg: &'a str,
    pub label_bg: &'a str,
    pub listbox_fg: &'a str,
    pub listbox_bg: &'a str,
    pub act_listbox_fg: &'a str,
    pub act_listbox_bg: &'a str,
    pub textbox_fg: &'a str,
    pub textbox_bg: &'a str,
    pub act_textbox_fg: &'a str,
    pub act_textbox_bg: &'a str,
    pub help_line_fg: &'a str,
    pub help_line_bg: &'a str,
    pub root_text_fg: &'a str,
    pub root_text_bg: &'a str,
    pub empty_scale: &'a str,
    pub full_scale: &'a str,
    pub disabled_entry_fg: &'a str,
    pub disabled_entry_bg: &'a str,
    pub compact_button_fg: &'a str,
    pub compact_button_bg: &'a str,
    pub act_sel_listbox_fg: &'a str,
    pub act_sel_listbox_bg: &'a str,
    pub sel_listbox_fg: &'a str,
    pub sel_listbox_bg: &'a str,
}

A struct containing the color sets for all components.

Fields

root_fg: &'a strroot_bg: &'a strborder_fg: &'a strborder_bg: &'a strwindow_fg: &'a strwindow_bg: &'a strshadow_fg: &'a strshadow_bg: &'a strtitle_fg: &'a strtitle_bg: &'a strbutton_fg: &'a strbutton_bg: &'a stract_button_fg: &'a stract_button_bg: &'a strcheckbox_fg: &'a strcheckbox_bg: &'a stract_checkbox_fg: &'a stract_checkbox_bg: &'a strentry_fg: &'a strentry_bg: &'a strlabel_fg: &'a strlabel_bg: &'a strlistbox_fg: &'a strlistbox_bg: &'a stract_listbox_fg: &'a stract_listbox_bg: &'a strtextbox_fg: &'a strtextbox_bg: &'a stract_textbox_fg: &'a stract_textbox_bg: &'a strhelp_line_fg: &'a strhelp_line_bg: &'a strroot_text_fg: &'a strroot_text_bg: &'a strempty_scale: &'a strfull_scale: &'a strdisabled_entry_fg: &'a strdisabled_entry_bg: &'a strcompact_button_fg: &'a strcompact_button_bg: &'a stract_sel_listbox_fg: &'a stract_sel_listbox_bg: &'a strsel_listbox_fg: &'a strsel_listbox_bg: &'a str

Trait Implementations

impl<'a> Clone for Colors<'a>[src]

impl<'a> Debug for Colors<'a>[src]

impl<'a> Default for Colors<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Colors<'a>

impl<'a> Send for Colors<'a>

impl<'a> Sync for Colors<'a>

impl<'a> Unpin for Colors<'a>

impl<'a> UnwindSafe for Colors<'a>

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.