pub(crate) trait RgbXyzFactory<T: Clone + AsPrimitive<usize> + Default> {
// Required method
fn make_transform<const LINEAR_CAP: usize, const GAMMA_LUT: usize, const BIT_DEPTH: usize>(
src_layout: Layout,
dst_layout: Layout,
profile: TransformMatrixShaper<T, LINEAR_CAP>,
transform_options: TransformOptions,
) -> Result<Arc<dyn TransformExecutor<T> + Send + Sync>, CmsError>;
}Required Methods§
fn make_transform<const LINEAR_CAP: usize, const GAMMA_LUT: usize, const BIT_DEPTH: usize>( src_layout: Layout, dst_layout: Layout, profile: TransformMatrixShaper<T, LINEAR_CAP>, transform_options: TransformOptions, ) -> Result<Arc<dyn TransformExecutor<T> + Send + Sync>, CmsError>
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.