Crate pprint

source ·

Re-exports

Modules

Derive Macros

  • ! Derive the Pretty trait for a struct or enum This macro will generate a From implementation for the given struct or enum. The generated From implementation will convert the struct or enum into a pretty::Doc<’a>, where the Doc lifetime is either the lifetime of the struct or enum, or ’a if no lifetime is specified. Example: