[][src]Trait nshare::ToImageLuma

pub trait ToImageLuma {
    type Out;
    pub fn to_image_luma(self) -> Self::Out;
}

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.

Associated Types

Loading content...

Required methods

pub fn to_image_luma(self) -> Self::Out[src]

Loading content...

Implementors

Loading content...