Struct color_backtrace::ColorScheme[][src]

pub struct ColorScheme {
    pub frames_omitted_msg: ColorSpec,
    pub header: ColorSpec,
    pub msg_loc_prefix: ColorSpec,
    pub src_loc: ColorSpec,
    pub src_loc_separator: ColorSpec,
    pub env_var: ColorSpec,
    pub dependency_code: ColorSpec,
    pub dependency_code_hash: ColorSpec,
    pub crate_code: ColorSpec,
    pub crate_code_hash: ColorSpec,
    pub selected_src_ln: ColorSpec,
}

Color scheme definition.

Fields

frames_omitted_msg: ColorSpecheader: ColorSpecmsg_loc_prefix: ColorSpecsrc_loc: ColorSpecsrc_loc_separator: ColorSpecenv_var: ColorSpecdependency_code: ColorSpecdependency_code_hash: ColorSpeccrate_code: ColorSpeccrate_code_hash: ColorSpecselected_src_ln: ColorSpec

Implementations

impl ColorScheme[src]

pub fn classic() -> Self[src]

The classic color-backtrace scheme, as shown in the screenshots.

Trait Implementations

impl Clone for ColorScheme[src]

impl Debug for ColorScheme[src]

impl Default for ColorScheme[src]

Auto Trait Implementations

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.