The method a class defines to print its instances when they are printed
as values (by PrettyPrinter.value), in place of its class name and
own enumerable properties. It is called with a PrettyPrinter
positioned where the value goes. It plays the part of a custom Debug
implementation in Rust: to print a generator's values some other way,
give the generator a printer with
printWith.
The method a class defines to print its instances when they are printed as values (by PrettyPrinter.value), in place of its class name and own enumerable properties. It is called with a PrettyPrinter positioned where the value goes. It plays the part of a custom
Debugimplementation in Rust: to print a generator's values some other way, give the generator a printer with printWith.