1use dom_struct::dom_struct;
6
7use crate::dom::bindings::codegen::Bindings::PluginBinding::PluginMethods;
8use crate::dom::bindings::reflector::Reflector;
9use crate::dom::bindings::root::DomRoot;
10use crate::dom::bindings::str::DOMString;
11use crate::dom::mimetype::MimeType;
12
13#[dom_struct]
14pub(crate) struct Plugin {
15 reflector_: Reflector,
16}
17
18impl PluginMethods<crate::DomTypeHolder> for Plugin {
19 fn Name(&self) -> DOMString {
21 unreachable!()
22 }
23
24 fn Description(&self) -> DOMString {
26 unreachable!()
27 }
28
29 fn Filename(&self) -> DOMString {
31 unreachable!()
32 }
33
34 fn Length(&self) -> u32 {
36 unreachable!()
37 }
38
39 fn Item(&self, _index: u32) -> Option<DomRoot<MimeType>> {
41 unreachable!()
42 }
43
44 fn NamedItem(&self, _name: DOMString) -> Option<DomRoot<MimeType>> {
46 unreachable!()
47 }
48
49 fn IndexedGetter(&self, _index: u32) -> Option<DomRoot<MimeType>> {
51 unreachable!()
52 }
53
54 fn NamedGetter(&self, _name: DOMString) -> Option<DomRoot<MimeType>> {
56 unreachable!()
57 }
58
59 fn SupportedPropertyNames(&self) -> Vec<DOMString> {
61 unreachable!()
62 }
63}