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

Required Methods§

source

fn CreateDocumentType( &self, qualifiedName: DOMString, publicId: DOMString, systemId: DOMString ) -> Result<Root<Dom<DocumentType>>, Error>

source

fn CreateDocument( &self, namespace: Option<DOMString>, qualifiedName: DOMString, doctype: Option<&DocumentType> ) -> Result<Root<Dom<XMLDocument>>, Error>

source

fn CreateHTMLDocument(&self, title: Option<DOMString>) -> Root<Dom<Document>>

source

fn HasFeature(&self) -> bool

Implementors§