pub fn play(&self, loops: i32) -> Result<(), String> {
        let ret = unsafe { sys::mixer::Mix_PlayMusic(self.raw, loops as c_int) };
        if ret == -1 {
            Err(get_error())
        } else {
            Ok(())
        }
    }
/// Play the loaded music loop times through from start to finish.
Play the loaded music loop times through from start to finish.
Play the loaded music loop times through from start to finish .
pub fn play(&self, loops: i32) -> Result<(), String> {
        let ret = unsafe { sys::mixer::Mix_PlayMusic(self.raw, loops as c_int) };
        if ret == -1 {
            Err(get_error())
        } else {
            Ok(())
        }
    }
pub fn play ( & self , loops : i32 ) -> Result < ( ) , String > { let ret = unsafe { sys :: mixer :: Mix_PlayMusic ( self . raw , loops as c_int ) } ; if ret == - 1 { Err ( get_error ( ) ) } else { Ok ( ( ) ) } }
Play the loaded music loop times through from start to finish.
Play the loaded music loop times through from start to finish .
&self
loops
i32
&self
loops
i32