Trait Diff

Source
pub trait Diff {
    // Required method
    fn diff(&mut self, other: &Self) -> Result<(), MergeError>;
}

Required Methods§

Source

fn diff(&mut self, other: &Self) -> Result<(), MergeError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Diff for Value

Source§

fn diff(&mut self, other: &Self) -> Result<(), MergeError>

Source§

impl Diff for Value

Source§

fn diff(&mut self, other: &Self) -> Result<(), MergeError>

Source§

impl Diff for Value

Source§

fn diff(&mut self, other: &Self) -> Result<(), MergeError>

Source§

impl Diff for Value

Source§

fn diff(&mut self, other: &Self) -> Result<(), MergeError>

Source§

impl Diff for Report

Source§

fn diff(&mut self, other: &Self) -> Result<(), MergeError>

Source§

impl<K, V> Diff for BTreeMap<K, V>
where K: Ord + Clone, V: Diff,

Source§

fn diff(&mut self, other: &Self) -> Result<(), MergeError>

Implementors§