Trait storm::ColorDescription[][src]

pub trait ColorDescription: Sized + Copy {
    fn component_type() -> ColorComponentType;
fn layout() -> ColorLayoutFormat; }
Expand description

A trait to describe size and layout of color components.

Required methods

Gets the component type of the color.

Gets the layout of the color.

Implementations on Foreign Types

Implementors