pub struct DebugMap<'f, 'w, W>{ /* 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>
impl<W> DebugMap<'_, '_, W>
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> Freeze for DebugMap<'f, 'w, W>where
W: ?Sized,
impl<'f, 'w, W> RefUnwindSafe for DebugMap<'f, 'w, W>where
W: RefUnwindSafe + ?Sized,
impl<'f, 'w, W> Send for DebugMap<'f, 'w, W>
impl<'f, 'w, W> Sync for DebugMap<'f, 'w, W>
impl<'f, 'w, W> Unpin for DebugMap<'f, 'w, W>where
W: ?Sized,
impl<'f, 'w, W> !UnwindSafe for DebugMap<'f, 'w, W>
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