pub trait ColorSpaceSignatureExt: Sized + Copy {
// Required methods
fn channels(self) -> u32;
fn pixel_type(self) -> PixelType;
}
Required Methods§
Sourcefn channels(self) -> u32
fn channels(self) -> u32
Returns channel count for a given color space.
Returns 3 on error (sic).
Sourcefn pixel_type(self) -> PixelType
fn pixel_type(self) -> PixelType
Converts from ICC color space notation (LCMS PDF Table 10) to Little CMS color space notation (LCMS PDF Table 36).
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.