[go: up one dir, main page]

Trait sdl2::image::LoadSurface[][src]

pub trait LoadSurface: Sized {
    fn from_file<P: AsRef<Path>>(filename: P) -> Result<Self, String>;
fn from_xpm_array(xpm: *const *const i8) -> Result<Self, String>; }
Expand description

Static method extensions for creating Surfaces

Required methods

Implementors