Skip to main content

cumulo_dipa/
null.rs

1use crate::{CreatedDelta, Diffable, Patchable};
2
3impl<'s, 'e> Diffable<'s, 'e, ()> for () {
4    type Delta = ();
5    type DeltaOwned = ();
6
7    fn create_delta_towards(&self, _end_state: &()) -> CreatedDelta<Self::Delta> {
8        CreatedDelta {
9            delta: (),
10            did_change: false,
11        }
12    }
13}
14
15impl Patchable<()> for () {
16    fn apply_patch(&mut self, _patch: ()) {}
17}