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
sourceimpl<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.
Auto Trait Implementations
impl<'f, 'w, W: ?Sized> RefUnwindSafe for DebugMap<'f, 'w, W> where
W: RefUnwindSafe,
impl<'f, 'w, W: ?Sized> Send for DebugMap<'f, 'w, W> where
W: Send,
impl<'f, 'w, W: ?Sized> Sync for DebugMap<'f, 'w, W> where
W: Sync,
impl<'f, 'w, W: ?Sized> Unpin for DebugMap<'f, 'w, W> where
'w: 'f,
impl<'f, 'w, W> !UnwindSafe for DebugMap<'f, 'w, W>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more