Trait colstodian::traits::AnyColorAlpha[][src]

pub trait AnyColorAlpha {
    fn raw(&self) -> Vec4;
fn space(&self) -> DynamicColorSpace;
fn alpha_state(&self) -> DynamicAlphaState; fn dynamic(&self) -> DynamicColorAlpha { ... } }
Expand description

An object-safe trait implemented by both ColorAlpha and DynamicColorAlpha

Required methods

Provided methods

Upcasts self into a DynamicColorAlpha

Trait Implementations

Performs the conversion.

Implementors