pub fn unregister_all_effects(self) -> Result<(), String> {
        let Channel(ch) = self;
        let ret = unsafe { sys::mixer::Mix_UnregisterAllEffects(ch as c_int) };
        if ret == 0 {
            Err(get_error())
        } else {
            Ok(())
        }
    }
/// This removes all effects registered to channel.
This removes all effects registered to channel.
This removes all effects registered to channel .
pub fn unregister_all_effects(self) -> Result<(), String> {
        let Channel(ch) = self;
        let ret = unsafe { sys::mixer::Mix_UnregisterAllEffects(ch as c_int) };
        if ret == 0 {
            Err(get_error())
        } else {
            Ok(())
        }
    }
pub fn unregister_all_effects ( self ) -> Result < ( ) , String > { let Channel ( ch ) = self ; let ret = unsafe { sys :: mixer :: Mix_UnregisterAllEffects ( ch as c_int ) } ; if ret == 0 { Err ( get_error ( ) ) } else { Ok ( ( ) ) } }
This removes all effects registered to channel.
This removes all effects registered to channel .
self
self