Skip to main content

ListDebug

Trait ListDebug 

Source
pub trait ListDebug {
    // Required method
    fn list_debug(&self, separator: &str) -> String;
}
Expand description

Extension trait to convert a list of debug-printable items into a single string. For example, vec![Some(1), None, Some(3)].list_debug(", ") will produce the string Some(1), None, Some(3)

Required Methods§

Source

fn list_debug(&self, separator: &str) -> String

Implementors§

Source§

impl<I, H> ListDebug for I
where for<'a> &'a I: IntoIterator<Item = &'a H>, H: Debug,