Delta

Trait Delta 

Source
pub trait Delta {
    type Output;

    // Required methods
    fn delta(old: Self, new: Self) -> Option<Self::Output>;
    fn apply_delta(&mut self, delta: Self::Output);
}

Required Associated Types§

Required Methods§

Source

fn delta(old: Self, new: Self) -> Option<Self::Output>

Source

fn apply_delta(&mut self, delta: Self::Output)

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.

Implementors§