pub(crate) trait MediaListMethods<D>where
D: DomTypes,{
// Required methods
fn MediaText(&self) -> DOMString;
fn SetMediaText(&self, cx: &NoGC, value: DOMString);
fn Length(&self) -> u32;
fn Item(&self, index: u32) -> Option<DOMString>;
fn AppendMedium(&self, cx: &NoGC, medium: DOMString);
fn DeleteMedium(&self, cx: &NoGC, medium: DOMString);
fn IndexedGetter(&self, index: u32) -> Option<DOMString>;
}Required Methods§
fn MediaText(&self) -> DOMString
fn SetMediaText(&self, cx: &NoGC, value: DOMString)
fn Length(&self) -> u32
fn Item(&self, index: u32) -> Option<DOMString>
fn AppendMedium(&self, cx: &NoGC, medium: DOMString)
fn DeleteMedium(&self, cx: &NoGC, medium: DOMString)
fn IndexedGetter(&self, index: u32) -> Option<DOMString>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".