Struct engiffen::Image [] [src]

pub struct Image {
    pub pixels: Vec<[u8; 4]>,
    pub width: u32,
    pub height: u32,
}

An image, currently a wrapper around image::DynamicImage. If loaded from disk through the load_image or load_images functions, its path property contains the path used to read it from disk.

Fields

Trait Implementations

impl Debug for Image
[src]

[src]

Formats the value using the given formatter.