pub trait TextTrackListMethods {
    // Required methods
    fn Length(&self) -> u32;
    fn GetTrackById(&self, id: DOMString) -> Option<Root<Dom<TextTrack>>>;
    fn GetOnchange(&self) -> Option<Rc<EventHandlerNonNull>>;
    fn SetOnchange(&self, value: Option<Rc<EventHandlerNonNull>>);
    fn GetOnaddtrack(&self) -> Option<Rc<EventHandlerNonNull>>;
    fn SetOnaddtrack(&self, value: Option<Rc<EventHandlerNonNull>>);
    fn GetOnremovetrack(&self) -> Option<Rc<EventHandlerNonNull>>;
    fn SetOnremovetrack(&self, value: Option<Rc<EventHandlerNonNull>>);
    fn IndexedGetter(&self, index: u32) -> Option<Root<Dom<TextTrack>>>;
}

Required Methods§

Implementors§