[][src]Trait geng_core::prelude::Diff

pub trait Diff: 'static + Clone + Send + Sync + for<'de> Deserialize<'de> + Serialize + Trans {
    type Delta: 'static + Clone + Send + Sync + for<'de> Deserialize<'de> + Serialize + Trans;
    fn diff(&self, to: &Self) -> Self::Delta;
fn update(&mut self, delta: &Self::Delta); }

Associated Types

type Delta: 'static + Clone + Send + Sync + for<'de> Deserialize<'de> + Serialize + Trans

Loading content...

Required methods

fn diff(&self, to: &Self) -> Self::Delta

fn update(&mut self, delta: &Self::Delta)

Loading content...

Implementors

Loading content...