pub trait PluginMethods {
    // Required methods
    fn Name(&self) -> DOMString;
    fn Description(&self) -> DOMString;
    fn Filename(&self) -> DOMString;
    fn Length(&self) -> u32;
    fn Item(&self, index: u32) -> Option<Root<Dom<MimeType>>>;
    fn NamedItem(&self, name: DOMString) -> Option<Root<Dom<MimeType>>>;
    fn IndexedGetter(&self, index: u32) -> Option<Root<Dom<MimeType>>>;
    fn SupportedPropertyNames(&self) -> Vec<DOMString>;
    fn NamedGetter(&self, name: DOMString) -> Option<Root<Dom<MimeType>>>;
}

Required Methods§

Implementors§