fn new_white_buffer(w: u32, h: u32) -> ImageBuffer<Rgba<u8>, Vec<u8>> {
    let mut image: ImageBuffer<Rgba<u8>, Vec<u8>> = ImageBuffer::new(w, h);
    for px in image.pixels_mut() {
        px.0 = [255, 255, 255, 255];
    }
    image
}
/// Create a new white image buffer.
Create a new white image buffer.
Create a new white image buffer .
fn new_white_buffer(w: u32, h: u32) -> ImageBuffer<Rgba<u8>, Vec<u8>> {
    let mut image: ImageBuffer<Rgba<u8>, Vec<u8>> = ImageBuffer::new(w, h);
    for px in image.pixels_mut() {
        px.0 = [255, 255, 255, 255];
    }
    image
}
fn new_white_buffer ( w : u32 , h : u32 ) -> ImageBuffer < Rgba < u8 > , Vec < u8 > > { let mut image : ImageBuffer < Rgba < u8 > , Vec < u8 > > = ImageBuffer :: new ( w , h ) ; for px in image . pixels_mut ( ) { px . 0 = [ 255 , 255 , 255 , 255 ] ; } image }
Create a new white image buffer.
Create a new white image buffer .
w
u32
h
u32
w
u32
h
u32