Trait gemgui::graphics::bitmap::BitmapData
source · pub trait BitmapData {
// Required methods
fn iter(&self) -> Iter<'_, Pixel>;
fn width(&self) -> u32;
fn height(&self) -> u32;
fn get(&self, x: u32, y: u32) -> Pixel;
fn slice(&self, x: u32, width: u32, y: u32) -> &[Pixel];
}
Expand description
Trait for bitmap data