pub trait DOMImplementationMethods {
    // 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;
}

Required Methods§

source

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

source

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

source

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

source

fn HasFeature(&self) -> bool

Implementors§