pub fn blit_buffer<I, P, S>(image: &I, mask_color: Color) -> BlitBufferwhere
    I: GenericImage<Pixel = P>,
    P: Pixel<Subpixel = S> + 'static,
    S: Primitive + 'static,
Expand description

Create a BlitBuffer type from a generic image type so a as_rgb* step is not needed.