nshare/
toimage.rs

1/// Converts a 2d type to a luma image type.
2///
3/// This uses an associated type to avoid ambiguity for the compiler.
4/// By calling this, the compiler always knows the returned type.
5pub trait IntoImageLuma {
6    type Out;
7
8    fn into_image_luma(self) -> Self::Out;
9}