Color.opCast

Support casting between different colors. You can also use std.conv.to

  1. Object opCast()
  2. T opCast()
    class Color
    T
    opCast
    (
    T : Color
    )
    ()

Meta