pub struct MetaTypesPrinter<'a> { /* private fields */ }Expand description
Pretty-printer for MetaTypes content.
The MetaTypesPrinter recursively formats all known MetaType entries
in a structured and indented way. It handles all variant types
(BuildIn, Custom, Reference, ComplexType, etc.) and also detects
and prevents cycles by tracking visited type identifiers.
This type is typically used via its Display implementation.
Implementations§
Source§impl<'a> MetaTypesPrinter<'a>
impl<'a> MetaTypesPrinter<'a>
Trait Implementations§
Source§impl<'a> Debug for MetaTypesPrinter<'a>
impl<'a> Debug for MetaTypesPrinter<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for MetaTypesPrinter<'a>
impl<'a> !Send for MetaTypesPrinter<'a>
impl<'a> !Sync for MetaTypesPrinter<'a>
impl<'a> !UnwindSafe for MetaTypesPrinter<'a>
impl<'a> Freeze for MetaTypesPrinter<'a>
impl<'a> Unpin for MetaTypesPrinter<'a>
impl<'a> UnsafeUnpin for MetaTypesPrinter<'a>
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.