[][src]Trait diff::Differ

pub trait Differ<T> {
    type Repr;
    fn diff(&self, a: &T, b: &T) -> Self::Repr;
fn apply(&self, a: &mut T, b: &Self::Repr); }

A trait allowing a custom struct to handle the diffing implementation for a type

Associated Types

type Repr

Loading content...

Required methods

fn diff(&self, a: &T, b: &T) -> Self::Repr

fn apply(&self, a: &mut T, b: &Self::Repr)

Loading content...

Implementors

Loading content...