Struct sc2::data::ImageData
[−]
[src]
pub struct ImageData { /* fields omitted */ }
data used to sample the current state of the map at certain points
Methods
impl ImageData
[src]
pub fn get_bpp(&self) -> u32
[src]
number of bits to interpret as a pixel in the data
pub fn get_raw_data(&self) -> &[u8]
[src]
raw image data
pub fn get_dimensions(&self) -> (u32, u32)
[src]
dimensions of the image
Trait Implementations
impl Debug for ImageData
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more