Trait struct_patch::traits::Patch
source · pub trait Patch<P>where
P: Default,{
fn apply(&mut self, patch: P);
fn default_patch() -> P { ... }
}
Required Methods§
Provided Methods§
sourcefn default_patch() -> P
fn default_patch() -> P
get an empty patch instance