pub struct NodeSummary<'a>(/* private fields */);Expand description
Lazy safe node view: known tags, reasons/codes, shape and identifier correlation. No node conversion/cloning, payload reads, hashing or allocation at construction. Formatting visits at most 32 nodes, 16 attributes per node and three levels.
Trait Implementations§
Source§impl Debug for NodeSummary<'_>
impl Debug for NodeSummary<'_>
Source§impl Display for NodeSummary<'_>
impl Display for NodeSummary<'_>
Source§impl<'a> From<&'a Node> for NodeSummary<'a>
impl<'a> From<&'a Node> for NodeSummary<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for NodeSummary<'a>
impl<'a> !Send for NodeSummary<'a>
impl<'a> !Sync for NodeSummary<'a>
impl<'a> !UnwindSafe for NodeSummary<'a>
impl<'a> Forget for NodeSummary<'a>
impl<'a> Freeze for NodeSummary<'a>where
&'a dyn Shape: Freeze,
impl<'a> Move for NodeSummary<'a>
impl<'a> Unpin for NodeSummary<'a>where
&'a dyn Shape: Unpin,
impl<'a> UnsafeUnpin for NodeSummary<'a>where
&'a dyn Shape: UnsafeUnpin,
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> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more