nshare 0.10.0

Conversion between n-dimensional types in different Rust crates
Documentation
1
2
3
4
5
6
7
8
9
/// Converts a 2d type to a luma image type.
///
/// This uses an associated type to avoid ambiguity for the compiler.
/// By calling this, the compiler always knows the returned type.
pub trait IntoImageLuma {
    type Out;

    fn into_image_luma(self) -> Self::Out;
}