Enum fxbox_taxonomy::values::Color [] [src]

pub enum Color {
    RGBA(f64, f64, f64, f64, f64),
}

A color. Internal representation may vary. The FoxBox adapters are expected to perform conversions to the format requested by their device.

Variants

RGBA

Trait Implementations

impl Deserialize for Color

fn deserialize<__D>(deserializer: &mut __D) -> Result<Color, __D::Error> where __D: Deserializer

impl Serialize for Color

fn serialize<__S>(&self, serializer: &mut __S) -> Result<(), __S::Error> where __S: Serializer

Derived Implementations

impl PartialOrd for Color

fn partial_cmp(&self, __arg_0: &Color) -> Option<Ordering>

fn lt(&self, __arg_0: &Color) -> bool

fn le(&self, __arg_0: &Color) -> bool

fn gt(&self, __arg_0: &Color) -> bool

fn ge(&self, __arg_0: &Color) -> bool

impl PartialEq for Color

fn eq(&self, __arg_0: &Color) -> bool

fn ne(&self, __arg_0: &Color) -> bool

impl Clone for Color

fn clone(&self) -> Color

1.0.0fn clone_from(&mut self, source: &Self)

impl Debug for Color

fn fmt(&self, __arg_0: &mut Formatter) -> Result