pub fn new(data: ImageFormat) -> Image {
        Image {
            pos: Rect::new(),
            style: None,
            data,
        }
    }
/// Create a new image from a raw data.
Create a new image from a raw data.
Create a new image from a raw data .
pub fn new(data: ImageFormat) -> Image {
        Image {
            pos: Rect::new(),
            style: None,
            data,
        }
    }
pub fn new ( data : ImageFormat ) -> Image { Image { pos : Rect :: new ( ) , style : None , data , } }
Create a new image from a raw data.
Create a new image from a raw data .
data
ImageFormat
data
ImageFormat