fn collect_pixels<Pixel, PixelStorage, CreatePixels, SetPixel>(
        self, create_pixels: CreatePixels, set_pixel: SetPixel
    ) -> CollectPixels<Self, Pixel, PixelStorage, CreatePixels, SetPixel>
        where
            <Self::RecursivePixelReader as RecursivePixelReader>::RecursivePixel: IntoTuple<Pixel>,
            <Self::RecursivePixelReader as RecursivePixelReader>::RecursiveChannelDescriptions: IntoNonRecursive,
            CreatePixels: Fn(
                Vec2<usize>,
                &<<Self::RecursivePixelReader as RecursivePixelReader>::RecursiveChannelDescriptions as IntoNonRecursive>::NonRecursive
            ) -> PixelStorage,
            SetPixel: Fn(&mut PixelStorage, Vec2<usize>, Pixel),
    {
        CollectPixels { read_channels: self, set_pixel, create_pixels, px: Default::default() }
    }
/// Using two closures, define how to store the pixels.
/// The first closure creates an image, and the second closure inserts a single pixel.
/// The type of the pixel can be defined by the second closure;
/// it must be a tuple containing `f16`, `f32`, `u32` or `Sample` values.
/// See the examples for more information.
Using two closures, define how to store the pixels.
The first closure creates an image, and the second closure inserts a single pixel.
Using two closures define how to store the pixels . The first closure creates an image and the second closure inserts a single pixel .
fn collect_pixels<Pixel, PixelStorage, CreatePixels, SetPixel>(
        self, create_pixels: CreatePixels, set_pixel: SetPixel
    ) -> CollectPixels<Self, Pixel, PixelStorage, CreatePixels, SetPixel>
        where
            <Self::RecursivePixelReader as RecursivePixelReader>::RecursivePixel: IntoTuple<Pixel>,
            <Self::RecursivePixelReader as RecursivePixelReader>::RecursiveChannelDescriptions: IntoNonRecursive,
            CreatePixels: Fn(
                Vec2<usize>,
                &<<Self::RecursivePixelReader as RecursivePixelReader>::RecursiveChannelDescriptions as IntoNonRecursive>::NonRecursive
            ) -> PixelStorage,
            SetPixel: Fn(&mut PixelStorage, Vec2<usize>, Pixel),
    {
        CollectPixels { read_channels: self, set_pixel, create_pixels, px: Default::default() }
    }
fn collect_pixels < Pixel , PixelStorage , CreatePixels , SetPixel > ( self , create_pixels : CreatePixels , set_pixel : SetPixel ) -> CollectPixels < Self , Pixel , PixelStorage , CreatePixels , SetPixel > where < Self :: RecursivePixelReader as RecursivePixelReader > :: RecursivePixel : IntoTuple < Pixel > , < Self :: RecursivePixelReader as RecursivePixelReader > :: RecursiveChannelDescriptions : IntoNonRecursive , CreatePixels : Fn ( Vec2 < usize > , & < < Self :: RecursivePixelReader as RecursivePixelReader > :: RecursiveChannelDescriptions as IntoNonRecursive > :: NonRecursive ) -> PixelStorage , SetPixel : Fn ( & mut PixelStorage , Vec2 < usize > , Pixel ) , { CollectPixels { read_channels : self , set_pixel , create_pixels , px : Default :: default ( ) } }
Using two closures, define how to store the pixels.
Using two closures define how to store the pixels .
self
create_pixels
CreatePixels
set_pixel
SetPixel
self
create_pixels
CreatePixels
set_pixel
SetPixel