pub trait DOMMediaListExt: 'static {
fn append_medium(&self, newMedium: &str) -> Result<(), Error>;
fn delete_medium(&self, oldMedium: &str) -> Result<(), Error>;
fn length(&self) -> c_ulong;
fn media_text(&self) -> Option<GString>;
fn item(&self, index: c_ulong) -> Option<GString>;
fn set_media_text(&self, value: &str) -> Result<(), Error>;
fn connect_length_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_media_text_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}