pub struct Formatter<'w, W>where
W: uWrite + ?Sized,{ /* private fields */ }Expand description
Configuration for formatting
Implementations§
source§impl<'w, W> Formatter<'w, W>where
W: uWrite + ?Sized,
impl<'w, W> Formatter<'w, W>where
W: uWrite + ?Sized,
sourcepub fn debug_list(&mut self) -> Result<DebugList<'_, 'w, W>, W::Error>
pub fn debug_list(&mut self) -> Result<DebugList<'_, 'w, W>, W::Error>
Creates a DebugList builder designed to assist with creation of uDebug implementations
for list-like structures.
sourcepub fn debug_map(&mut self) -> Result<DebugMap<'_, 'w, W>, W::Error>
pub fn debug_map(&mut self) -> Result<DebugMap<'_, 'w, W>, W::Error>
Creates a DebugMap builder designed to assist with creation of uDebug implementations
for map-like structures.
sourcepub fn debug_set(&mut self) -> Result<DebugSet<'_, 'w, W>, W::Error>
pub fn debug_set(&mut self) -> Result<DebugSet<'_, 'w, W>, W::Error>
Creates a DebugSet builder designed to assist with creation of uDebug implementations
for set-like structures.
sourcepub fn debug_struct(
&mut self,
name: &str
) -> Result<DebugStruct<'_, 'w, W>, W::Error>
pub fn debug_struct( &mut self, name: &str ) -> Result<DebugStruct<'_, 'w, W>, W::Error>
Creates a DebugStruct builder designed to assist with creation of uDebug implementations
for structs.
sourcepub fn debug_tuple(
&mut self,
name: &str
) -> Result<DebugTuple<'_, 'w, W>, W::Error>
pub fn debug_tuple( &mut self, name: &str ) -> Result<DebugTuple<'_, 'w, W>, W::Error>
Creates a DebugTuple builder designed to assist with creation of uDebug implementations
for tuple structs.