DocumentTypeMethods

pub trait DocumentTypeMethods<D: DomTypes> {
    // Required methods
    fn Name(&self) -> DOMString;
    fn PublicId(&self) -> DOMString;
    fn SystemId(&self) -> DOMString;
    fn Before(
        &self,
        cx: &mut JSContext,
        nodes: Vec<NodeOrString<D>>,
    ) -> Fallible<()>;
    fn After(
        &self,
        cx: &mut JSContext,
        nodes: Vec<NodeOrString<D>>,
    ) -> Fallible<()>;
    fn ReplaceWith(
        &self,
        cx: &mut JSContext,
        nodes: Vec<NodeOrString<D>>,
    ) -> Fallible<()>;
    fn Remove(&self, cx: &mut JSContext);
}

Required Methods§

Source

fn Name(&self) -> DOMString

Source

fn PublicId(&self) -> DOMString

Source

fn SystemId(&self) -> DOMString

Source

fn Before( &self, cx: &mut JSContext, nodes: Vec<NodeOrString<D>>, ) -> Fallible<()>

Source

fn After(&self, cx: &mut JSContext, nodes: Vec<NodeOrString<D>>) -> Fallible<()>

Source

fn ReplaceWith( &self, cx: &mut JSContext, nodes: Vec<NodeOrString<D>>, ) -> Fallible<()>

Source

fn Remove(&self, cx: &mut JSContext)

Implementors§