[][src]Trait parsepatch::parser::Patch

pub trait Patch<D: Diff> {
    fn new_diff(&mut self) -> &mut D;
fn close(&mut self); }

A type to handle patch

Required methods

fn new_diff(&mut self) -> &mut D

Create a new diff where lines will be added

fn close(&mut self)

Close the patch

Loading content...

Implementors

Loading content...