Trait script::dom::bindings::codegen::Bindings::XMLSerializerBinding::XMLSerializer_Binding::XMLSerializerMethods
source · 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§
fn SerializeToString(&self, root: &Node) -> Result<DOMString, Error>
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, ) -> Result<Root<Dom<XMLSerializer>>, Error>
Object Safety§
This trait is not object safe.