Struct ::exo::Color

Overview

Color type

Methods

fn new(color: String) -> Color

Creates a new Color from a String input.

Return the color as String

Protocols

protocol partial_eq
if value == b { }

Allows for partial equality operations to work.

protocol string_debug
println("{:?}", value)

Allows the value to be debug printed.

protocol string_display
println("{}", value)

Allows the value to be display printed.