AnsiColour.toString

[Not enabled in -betterC] Converts this AnsiColour into a GC-allocated sequence string.

struct AnsiColour
@trusted nothrow const
static if(!BetterC)
string
toString
()

Examples

assert(AnsiColour(255, 128, 64).toString() == "38;2;255;128;64");

See Also

toSequence

Meta