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.
fn layout() -> ColorLayoutFormat
fn layout() -> ColorLayoutFormat
Gets the layout of the color.