Trait ItemDiffExt

Source
pub trait ItemDiffExt<T> {
    // Required method
    fn apply(self, prev: T) -> T;
}

Required Methods§

Source

fn apply(self, prev: T) -> T

Apply the contents of a change to some field value

Implementors§

Source§

impl<T> ItemDiffExt<&mut Option<T>> for ItemDiff<T>

Source§

impl<T> ItemDiffExt<Option<T>> for ItemDiff<T>

Source§

impl<T> ItemDiffExt<T> for ItemDiff<T>
where T: Default,