pub trait BmpSaveExt { // Required method fn save_bmp(&self, file_name: &str) -> Result<(), BmpSaveError>; }
An extension for a Surface to save the image as BMP format.
Surface
Saves the surface image as BMP format.
Returns Err if failed to save an image to the file.
Err