pub fn media(&self) -> Option<Media> {
        unsafe{
            let p = sys::libvlc_media_list_media(self.ptr);
            if p.is_null() { None }else{ Some(Media{ptr: p}) }
        }
    }
/// Get media instance from this media list instance.
/// The MediaList::lock should NOT be held upon entering this function.
Get media instance from this media list instance.
The MediaList::lock should NOT be held upon entering this function.
Get media instance from this media list instance . The MediaList :: lock should NOT be held upon entering this function .
pub fn media(&self) -> Option<Media> {
        unsafe{
            let p = sys::libvlc_media_list_media(self.ptr);
            if p.is_null() { None }else{ Some(Media{ptr: p}) }
        }
    }
pub fn media ( & self ) -> Option < Media > { unsafe { let p = sys :: libvlc_media_list_media ( self . ptr ) ; if p . is_null ( ) { None } else { Some ( Media { ptr : p } ) } } }
Get media instance from this media list instance.
Get media instance from this media list instance .
&self
&self