[][src]Struct ufmt::DebugList

pub struct DebugList<'f, 'w, W: ?Sized> where
    W: uWrite
{ /* fields omitted */ }

A struct to help with uDebug implementations.

This is useful when you wish to output a formatted list of items as a part of your uDebug::fmt implementation.

This can be constructed by the Formatter::debug_list method.

Methods

impl<'_, '_, W: ?Sized> DebugList<'_, '_, W> where
    W: uWrite
[src]

pub fn entry(&mut self, entry: &impl uDebug) -> Result<&mut Self, W::Error>[src]

Adds a new entry to the list output.

pub fn entries(
    &mut self,
    entries: impl IntoIterator<Item = impl uDebug>
) -> Result<&mut Self, W::Error>
[src]

Adds the contents of an iterator of entries to the list output.

pub fn finish(&mut self) -> Result<(), W::Error>[src]

Finishes output

Auto Trait Implementations

impl<'f, 'w, W: ?Sized> Unpin for DebugList<'f, 'w, W> where
    'w: 'f, 

impl<'f, 'w, W: ?Sized> Send for DebugList<'f, 'w, W> where
    W: Send

impl<'f, 'w, W: ?Sized> Sync for DebugList<'f, 'w, W> where
    W: Sync

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]