pub trait Printing<T> {
    fn to_str(self) -> String;

    fn gr(self) -> String { ... }
}
Expand description

Method to_str() to serialize generic items, slices, and slices of slices. Method gr() to serialize and make the resulting string come out in bold green when printed

Required methods

Method to serialize generic items, slices, and slices of Vecs.

Provided methods

Method gr() to serialize and make the resulting string bold green when printed. This is the default implementation applicable to all types that trait Printing is implemented for

Implementations on Foreign Types

Implementors