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> Freeze for MetaTypesPrinter<'a>
impl<'a> !RefUnwindSafe for MetaTypesPrinter<'a>
impl<'a> Send for MetaTypesPrinter<'a>
impl<'a> Sync for MetaTypesPrinter<'a>
impl<'a> Unpin for MetaTypesPrinter<'a>
impl<'a> !UnwindSafe 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