fn load_wav(&self) -> Result<Chunk, String> {
        let raw = unsafe { sys::mixer::Mix_LoadWAV_RW(self.raw(), 0) };
        if raw.is_null() {
            Err(get_error())
        } else {
            Ok(Chunk {
                raw: raw,
                owned: true,
            })
        }
    }
/// Load src for use as a sample.
Load src for use as a sample.
Load src for use as a sample .
fn load_wav(&self) -> Result<Chunk, String> {
        let raw = unsafe { sys::mixer::Mix_LoadWAV_RW(self.raw(), 0) };
        if raw.is_null() {
            Err(get_error())
        } else {
            Ok(Chunk {
                raw: raw,
                owned: true,
            })
        }
    }
fn load_wav ( & self ) -> Result < Chunk , String > { let raw = unsafe { sys :: mixer :: Mix_LoadWAV_RW ( self . raw ( ) , 0 ) } ; if raw . is_null ( ) { Err ( get_error ( ) ) } else { Ok ( Chunk { raw : raw , owned : true , } ) } }
Load src for use as a sample.
Load src for use as a sample .
&self
&self