Trait sdl2_image::LoadSurface
[−]
[src]
pub trait LoadSurface: Sized { fn from_file(filename: &Path) -> SdlResult<Self>; fn from_xpm_array(xpm: *const *const i8) -> SdlResult<Self>; }
Static method extensions for creating Surfaces
Required Methods
fn from_file(filename: &Path) -> SdlResult<Self>
fn from_xpm_array(xpm: *const *const i8) -> SdlResult<Self>
Implementors
impl<'a> LoadSurface for Surface<'a>