pub trait DOMImplementationMethods<D: DomTypes> {
// Required methods
fn CreateDocumentType(
&self,
qualifiedName: DOMString,
publicId: DOMString,
systemId: DOMString,
_can_gc: CanGc,
) -> Result<Root<Dom<DocumentType>>, Error>;
fn CreateDocument(
&self,
namespace: Option<DOMString>,
qualifiedName: DOMString,
doctype: Option<&DocumentType>,
_can_gc: CanGc,
) -> Result<Root<Dom<XMLDocument>>, Error>;
fn CreateHTMLDocument(
&self,
title: Option<DOMString>,
_can_gc: CanGc,
) -> Root<Dom<Document>>;
fn HasFeature(&self) -> bool;
}