Trait Diff
geng_core::prelude
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); }
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)