pub struct JsonTreeVisuals {
pub object_key_color: Color32,
pub array_idx_color: Color32,
pub null_color: Color32,
pub bool_color: Color32,
pub number_color: Color32,
pub string_color: Color32,
pub highlight_color: Color32,
pub punctuation_color: Color32,
}
Expand description
Colors for JSON syntax highlighting, and search match highlighting.
Fields§
§object_key_color: Color32
§array_idx_color: Color32
§null_color: Color32
§bool_color: Color32
§number_color: Color32
§string_color: Color32
§highlight_color: Color32
§punctuation_color: Color32
The color for array brackets, object braces, colons and commas.
Implementations§
Trait Implementations§
Source§impl Clone for JsonTreeVisuals
impl Clone for JsonTreeVisuals
Source§fn clone(&self) -> JsonTreeVisuals
fn clone(&self) -> JsonTreeVisuals
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 JsonTreeVisuals
impl Debug for JsonTreeVisuals
Source§impl Default for JsonTreeVisuals
impl Default for JsonTreeVisuals
Auto Trait Implementations§
impl Freeze for JsonTreeVisuals
impl RefUnwindSafe for JsonTreeVisuals
impl Send for JsonTreeVisuals
impl Sync for JsonTreeVisuals
impl Unpin for JsonTreeVisuals
impl UnwindSafe for JsonTreeVisuals
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