pub fn to_writer<W: Write>(
writer: W,
tree: &WeakDom,
ids: &[Ref],
options: EncodeOptions<'_>
) -> Result<(), EncodeError>
Expand description
Serializes a subset of the given tree to an XML format model or place,
writing to something that implements the std::io::Write
trait.