[][src]Trait imageproc::property_testing::ArbitraryPixel

pub trait ArbitraryPixel {
    fn arbitrary<G: Gen>(g: &mut G) -> Self;
}

Workaround for not being able to define Arbitrary instances for pixel types defines in other modules.

Required methods

fn arbitrary<G: Gen>(g: &mut G) -> Self

Generate an arbitrary instance of this pixel type.

Loading content...

Implementations on Foreign Types

impl<T: Send + Primitive> ArbitraryPixel for Rgb<T> where
    Standard: Distribution<T>, 
[src]

impl<T: Send + Primitive> ArbitraryPixel for Luma<T> where
    Standard: Distribution<T>, 
[src]

Loading content...

Implementors

Loading content...