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]
impl ImageDatapub fn get_bpp(&self) -> u32[src]
pub fn get_bpp(&self) -> u32Number of bits to interpret as a pixel in the data.
pub fn get_raw_data(&self) -> &[u8][src]
pub fn get_raw_data(&self) -> &[u8]Raw image data.
pub fn get_dimensions(&self) -> (u32, u32)[src]
pub fn get_dimensions(&self) -> (u32, u32)Dimensions of the image.
Trait Implementations
impl Debug for ImageData[src]
impl Debug for ImageDatafn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for ImageData[src]
impl Clone for ImageData