Trait ColourModel

Source
pub trait ColourModel {
    // Provided method
    fn channels() -> usize { ... }
}
Expand description

ColourModel trait, this trait reports base parameters for different colour models

Provided Methods§

Source

fn channels() -> usize

Number of colour channels for a type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§