pub struct JSONHighlighter;Expand description
Highlights JSON: braces, true/false/null, numbers and strings, then
marks each string followed by a : (past any whitespace) as a key. Port
of rich.highlighter.JSONHighlighter.
Implementations§
Trait Implementations§
Source§impl Clone for JSONHighlighter
impl Clone for JSONHighlighter
impl Copy for JSONHighlighter
Source§impl Debug for JSONHighlighter
impl Debug for JSONHighlighter
Source§impl Default for JSONHighlighter
impl Default for JSONHighlighter
Source§impl Highlighter for JSONHighlighter
impl Highlighter for JSONHighlighter
Auto Trait Implementations§
impl Freeze for JSONHighlighter
impl RefUnwindSafe for JSONHighlighter
impl Send for JSONHighlighter
impl Sync for JSONHighlighter
impl Unpin for JSONHighlighter
impl UnsafeUnpin for JSONHighlighter
impl UnwindSafe for JSONHighlighter
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