pub struct DebugMap<'f, 'w, W>where
W: uWrite + ?Sized,{ /* private fields */ }Expand description
A struct to help with uDebug implementations.
This is useful when you wish to output a formatted map as a part of your uDebug::fmt
implementation.
This can be constructed by the Formatter::debug_map method.
Implementations§
source§impl<W> DebugMap<'_, '_, W>where
W: uWrite + ?Sized,
impl<W> DebugMap<'_, '_, W>where
W: uWrite + ?Sized,
sourcepub fn entry(
&mut self,
key: &impl uDebug,
value: &impl uDebug
) -> Result<&mut Self, W::Error>
pub fn entry( &mut self, key: &impl uDebug, value: &impl uDebug ) -> Result<&mut Self, W::Error>
Adds a new entry to the map output.