Crate stylish_ansi

source ·
Expand description

stylish helpers for writing styles as ANSI escape codes.

Modules

  • iostd
    Traits and associated types for writing stylish attributed data to fallible IO sinks with ANSI escape codes.

Macros

  • formatalloc and macros
    Create a String with inline ANSI escape codes styling its formatted data.

Structs

  • An adaptor to allow writing stylish attributed data to an output stream by turning attributes into inline ANSI escape codes.

Traits

  • ToAnsiStringalloc and macros
    A trait for converting a value to a String with integrated ANSI styling.

Functions

  • formatalloc
    Render the given attributed Arguments into a String by converting the attributes into inline ANSI escape codes.