pub fn image_buffer_view_rgb<'a>(
    width: u32,
    height: u32,
    data: &'a [u8],
) -> ImageBufferView<'a, [u8], 3> {
    ImageBufferView::<'a, [u8], 3> {
        data,
        width,
        height,
    }
}
/// Interpret a byte slice as an rgb image of certain size.
Interpret a byte slice as an rgb image of certain size.
Interpret a byte slice as an rgb image of certain size .
pub fn image_buffer_view_rgb<'a>(
    width: u32,
    height: u32,
    data: &'a [u8],
) -> ImageBufferView<'a, [u8], 3> {
    ImageBufferView::<'a, [u8], 3> {
        data,
        width,
        height,
    }
}
pub fn image_buffer_view_rgb < ' a > ( width : u32 , height : u32 , data : & ' a [ u8 ] , ) -> ImageBufferView < ' a , [ u8 ] , 3 > { ImageBufferView :: < ' a , [ u8 ] , 3 > { data , width , height , } }
Interpret a byte slice as an rgb image of certain size.
Interpret a byte slice as an rgb image of certain size .
width
u32
height
u32
data
&'a [u8]