pub struct Pretty<'a, 'bin> { /* private fields */ }
Expand description
Write a parsed and potentially modified json::Element
tree to a buffer formatted
for human readability.
The JSON is formatted so that each element is indented and put on it’s own line.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'bin> Freeze for Pretty<'a, 'bin>
impl<'a, 'bin> RefUnwindSafe for Pretty<'a, 'bin>
impl<'a, 'bin> !Send for Pretty<'a, 'bin>
impl<'a, 'bin> !Sync for Pretty<'a, 'bin>
impl<'a, 'bin> Unpin for Pretty<'a, 'bin>
impl<'a, 'bin> UnwindSafe for Pretty<'a, 'bin>
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