Struct imageproc::utils::TestBuffer [] [src]

pub struct TestBuffer<T: Pixel>(pub VecBuffer<T>);

Wrapper for image buffers to allow us to write an Arbitrary instance.

Trait Implementations

impl<T: Clone + Pixel> Clone for TestBuffer<T>
[src]

fn clone(&self) -> TestBuffer<T>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<T: Pixel + ArbitraryPixel + Send + 'static> Arbitrary for TestBuffer<T> where T::Subpixel: Send
[src]

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

fn shrink(&self) -> Box<Iterator<Item=TestBuffer<T>>>

impl<T: Debug + Pixel + 'static> Debug for TestBuffer<T>
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.