[−][src]Trait sdl2::image::ImageRWops
Required methods
fn load(&self) -> Result<Surface<'static>, String>
[−]
load as a surface. except TGA
fn load_typed(&self, _type: &str) -> Result<Surface<'static>, String>
[−]
load as a surface. This can load all supported image formats.