Struct color_backtrace::ColorScheme
source · 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,
}
Expand description
Color scheme definition.
Fields§
§frames_omitted_msg: ColorSpec
§header: ColorSpec
§msg_loc_prefix: ColorSpec
§src_loc: ColorSpec
§src_loc_separator: ColorSpec
§env_var: ColorSpec
§dependency_code: ColorSpec
§dependency_code_hash: ColorSpec
§crate_code: ColorSpec
§crate_code_hash: ColorSpec
§selected_src_ln: ColorSpec
Implementations§
source§impl ColorScheme
impl ColorScheme
Trait Implementations§
source§impl Clone for ColorScheme
impl Clone for ColorScheme
source§fn clone(&self) -> ColorScheme
fn clone(&self) -> ColorScheme
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ColorScheme
impl Debug for ColorScheme
Auto Trait Implementations§
impl RefUnwindSafe for ColorScheme
impl Send for ColorScheme
impl Sync for ColorScheme
impl Unpin for ColorScheme
impl UnwindSafe for ColorScheme
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more