DebugDisplay

Trait DebugDisplay 

Source
pub trait DebugDisplay {
    // Required methods
    fn format_list(&self) -> String;
    fn format_enumerated(&self) -> String;
}
Expand description

Extension trait for formatting collections of Debug items in tests

Required Methods§

Source

fn format_list(&self) -> String

Format items as debug output, one per line

Source

fn format_enumerated(&self) -> String

Format items with enumeration (index – item)

Implementations on Foreign Types§

Source§

impl<T: Debug> DebugDisplay for [T]

Implementors§