[][src]Trait sdl2::mixer::LoaderRWops

pub trait LoaderRWops<'a> {
    fn load_wav(&self) -> Result<Chunk, String>;
fn load_music(&'a self) -> Result<Music<'a>, String>; }

Loader trait for RWops

Required methods

fn load_wav(&self) -> Result<Chunk, String>

Load src for use as a sample.

fn load_music(&'a self) -> Result<Music<'a>, String>

Loading content...

Implementors

impl<'a> LoaderRWops<'a> for RWops<'a>[src]

fn load_wav(&self) -> Result<Chunk, String>[src]

Load src for use as a sample.

fn load_music(&self) -> Result<Music<'a>, String>[src]

Load src for use as music.

Loading content...