[][src]Trait nshare::ToImageLuma

pub trait ToImageLuma {
    type Out;
    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

type Out

Loading content...

Required methods

fn to_image_luma(self) -> Self::Out

Loading content...

Implementors

Loading content...