Trait script::dom::bindings::codegen::Bindings::TextTrackListBinding::TextTrackList_Binding::TextTrackListMethods
source · 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>>>;
}