diff_to_writer

Function diff_to_writer 

Source
pub fn diff_to_writer<'mem, 'facet, W: Write>(
    from: &'mem impl Facet<'facet>,
    to: &'mem impl Facet<'facet>,
    diff: &Diff<'mem, 'facet>,
    writer: &mut W,
) -> Result
Expand description

Render a diff as XML to a writer.

ยงArguments

  • from - The original value
  • to - The new value
  • diff - The diff between from and to
  • writer - The output writer