Trait Patchable

Source
pub trait Patchable<P> {
    // Required method
    fn apply_patch(&mut self, patch: P);
}
Expand description

Trait to indicate that a type can be patched.

Required Methods§

Source

fn apply_patch(&mut self, patch: P)

Implementors§

Source§

impl<T> Patchable<Option<T>> for T

Source§

impl<T, P> Patchable<Vec<P>> for T
where T: Patchable<P>,