[][src]Struct broot::skin::Skin

pub struct Skin {
    pub default: CompoundStyle,
    pub tree: CompoundStyle,
    pub file: CompoundStyle,
    pub directory: CompoundStyle,
    pub exe: CompoundStyle,
    pub link: CompoundStyle,
    pub pruning: CompoundStyle,
    pub permissions: CompoundStyle,
    pub owner: CompoundStyle,
    pub group: CompoundStyle,
    pub dates: CompoundStyle,
    pub selected_line: CompoundStyle,
    pub char_match: CompoundStyle,
    pub file_error: CompoundStyle,
    pub flag_label: CompoundStyle,
    pub flag_value: CompoundStyle,
    pub input: CompoundStyle,
    pub status_error: CompoundStyle,
    pub status_job: CompoundStyle,
    pub status_normal: CompoundStyle,
    pub status_italic: CompoundStyle,
    pub status_bold: CompoundStyle,
    pub status_code: CompoundStyle,
    pub status_ellipsis: CompoundStyle,
    pub scrollbar_track: CompoundStyle,
    pub scrollbar_thumb: CompoundStyle,
    pub help_paragraph: CompoundStyle,
    pub help_bold: CompoundStyle,
    pub help_italic: CompoundStyle,
    pub help_code: CompoundStyle,
    pub help_headers: CompoundStyle,
    pub help_table_border: CompoundStyle,
}

Fields

default: CompoundStyletree: CompoundStylefile: CompoundStyledirectory: CompoundStyleexe: CompoundStylelink: CompoundStylepruning: CompoundStylepermissions: CompoundStyleowner: CompoundStylegroup: CompoundStyledates: CompoundStyleselected_line: CompoundStylechar_match: CompoundStylefile_error: CompoundStyleflag_label: CompoundStyleflag_value: CompoundStyleinput: CompoundStylestatus_error: CompoundStylestatus_job: CompoundStylestatus_normal: CompoundStylestatus_italic: CompoundStylestatus_bold: CompoundStylestatus_code: CompoundStylestatus_ellipsis: CompoundStylescrollbar_track: CompoundStylescrollbar_thumb: CompoundStylehelp_paragraph: CompoundStylehelp_bold: CompoundStylehelp_italic: CompoundStylehelp_code: CompoundStylehelp_headers: CompoundStylehelp_table_border: CompoundStyle

Methods

impl Skin[src]

pub fn no_term() -> Skin[src]

build a skin without any terminal control character (for file output)

pub fn create(skin_conf: HashMap<String, CompoundStyle>) -> Skin[src]

build a skin with some entry overloaded by configuration

Trait Implementations

impl Clone for Skin[src]

impl Debug for Skin[src]

Auto Trait Implementations

impl RefUnwindSafe for Skin

impl Send for Skin

impl Sync for Skin

impl Unpin for Skin

impl UnwindSafe for Skin

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.