Trait colstodian::traits::AnyColor[][src]

pub trait AnyColor {
    fn raw(&self) -> Vec3;
fn space(&self) -> DynamicColorSpace;
fn state(&self) -> DynamicState; fn dynamic(&self) -> DynamicColor { ... } }
Expand description

An object-safe trait implemented by both Color and DynamicColor.

Required methods

Provided methods

Upcasts self into a DynamicColor

Trait Implementations

Performs the conversion.

Implementors