[][src]Trait webkit2gtk_webextension::DOMDOMImplementationExt

pub trait DOMDOMImplementationExt: 'static {
    fn create_css_style_sheet(
        &self,
        title: &str,
        media: &str
    ) -> Result<DOMCSSStyleSheet, Error>;
fn create_document<P: IsA<DOMDocumentType>>(
        &self,
        namespaceURI: Option<&str>,
        qualifiedName: &str,
        doctype: Option<&P>
    ) -> Result<DOMDocument, Error>;
fn create_document_type(
        &self,
        qualifiedName: &str,
        publicId: &str,
        systemId: &str
    ) -> Result<DOMDocumentType, Error>;
fn create_html_document(&self, title: &str) -> Option<DOMHTMLDocument>;
fn has_feature(&self, feature: &str, version: &str) -> bool; }

Required methods

fn create_css_style_sheet(
    &self,
    title: &str,
    media: &str
) -> Result<DOMCSSStyleSheet, Error>

fn create_document<P: IsA<DOMDocumentType>>(
    &self,
    namespaceURI: Option<&str>,
    qualifiedName: &str,
    doctype: Option<&P>
) -> Result<DOMDocument, Error>

fn create_document_type(
    &self,
    qualifiedName: &str,
    publicId: &str,
    systemId: &str
) -> Result<DOMDocumentType, Error>

fn create_html_document(&self, title: &str) -> Option<DOMHTMLDocument>

fn has_feature(&self, feature: &str, version: &str) -> bool

Loading content...

Implementors

impl<O: IsA<DOMDOMImplementation>> DOMDOMImplementationExt for O[src]

Loading content...