pub fn remove_index(&self, pos: i32) -> Result<(), ()> {
        unsafe{
            if sys::libvlc_media_list_remove_index(self.ptr, pos) == 0 { Ok(()) }else{ Err(()) }
        }
    }
/// Remove media instance from media list on a position.
/// The MediaList::lock should be held upon entering this function.
Remove media instance from media list on a position.
The MediaList::lock should be held upon entering this function.
Remove media instance from media list on a position . The MediaList :: lock should be held upon entering this function .
pub fn remove_index(&self, pos: i32) -> Result<(), ()> {
        unsafe{
            if sys::libvlc_media_list_remove_index(self.ptr, pos) == 0 { Ok(()) }else{ Err(()) }
        }
    }
pub fn remove_index ( & self , pos : i32 ) -> Result < ( ) , ( ) > { unsafe { if sys :: libvlc_media_list_remove_index ( self . ptr , pos ) == 0 { Ok ( ( ) ) } else { Err ( ( ) ) } } }
Remove media instance from media list on a position.
Remove media instance from media list on a position .
&self
pos
i32
&self
pos
i32