DocumentTypeMethods

Trait DocumentTypeMethods 

Source
pub trait DocumentTypeMethods<D>
where 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>>, ) -> Result<(), Error>; fn After( &self, cx: &mut JSContext, nodes: Vec<NodeOrString<D>>, ) -> Result<(), Error>; fn ReplaceWith( &self, cx: &mut JSContext, nodes: Vec<NodeOrString<D>>, ) -> Result<(), Error>; 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>>, ) -> Result<(), Error>

Source

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

Source

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

Source

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

Implementors§