[−][src]Trait sdl2::image::SaveSurface
Method extensions to Surface for saving to disk
Method extensions to Surface for saving to disk
fn save<P: AsRef<Path>>(&self, filename: P) -> Result<(), String>
fn save_rw(&self, dst: &mut RWops) -> Result<(), String>