Struct sc2::ImageData [] [src]

pub struct ImageData {
    pub bits_per_pixel: i32,
    pub data: Vec<u8>,
    pub width: i32,
    pub height: i32,
}

data used to sample the current state of the map at certain points

Fields

number of bits to interpret as a pixel in the data

raw image data

width of the image

height of the image

Trait Implementations

impl Debug for ImageData
[src]

[src]

Formats the value using the given formatter.

impl Clone for ImageData
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more