pub struct JsonPrinter;Expand description
Print a model as pretty-printed, deterministic JSON, which says every model.
Implementations§
Auto Trait Implementations§
impl Forget for JsonPrinter
impl Freeze for JsonPrinter
impl Move for JsonPrinter
impl RefUnwindSafe for JsonPrinter
impl Send for JsonPrinter
impl Sync for JsonPrinter
impl Unpin for JsonPrinter
impl UnsafeUnpin for JsonPrinter
impl UnwindSafe for JsonPrinter
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
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.