pub trait XMLSerializerMethods {
    // Required methods
    fn SerializeToString(&self, root: &Node) -> Result<DOMString, Error>;
    fn Constructor(
        global: &Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
    ) -> Result<Root<Dom<XMLSerializer>>, Error>;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§