pub struct ChromaConfig {
pub inline_struct: InlineThreshold,
pub inline_array: InlineThreshold,
pub integer_format: IntegerFormat,
pub identifier_color: Color,
pub numerical_color: Color,
pub string_color: Color,
pub string_escape_color: Color,
pub field_color: Color,
}Fields§
§inline_struct: InlineThreshold§inline_array: InlineThreshold§integer_format: IntegerFormat§identifier_color: Color§numerical_color: ColorColor used for integers, floats, and booleans.
string_color: ColorColor used for string literals.
string_escape_color: ColorColor used for string escape sequences in string literals.
field_color: ColorColor used for field names.
Implementations§
Source§impl ChromaConfig
impl ChromaConfig
pub const DEFAULT: ChromaConfig
pub const COMPACT: ChromaConfig
Trait Implementations§
Source§impl Clone for ChromaConfig
impl Clone for ChromaConfig
Source§fn clone(&self) -> ChromaConfig
fn clone(&self) -> ChromaConfig
Returns a duplicate 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 ChromaConfig
impl Debug for ChromaConfig
Auto Trait Implementations§
impl Freeze for ChromaConfig
impl RefUnwindSafe for ChromaConfig
impl Send for ChromaConfig
impl Sync for ChromaConfig
impl Unpin for ChromaConfig
impl UnwindSafe for ChromaConfig
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