Skip to main content

Patch

Trait Patch 

Source
pub trait Patch: Patchable {
    // Required method
    fn patch(&mut self, patch: Self::Patch);
}
Expand description

A type that can be updated using its companion patch.

Required Methods§

Source

fn patch(&mut self, patch: Self::Patch)

Applies the given patch to update the structure.

Implementors§