Crate diff

Source

Modules§

utils

Structs§

ArrayDiff
The collection of difference-vec’s
ArrayDiffType
The type of change to make to an array
BTreeMapDiff
The diff struct used to compare two BTreeMap’s
BTreeSetDiff
The diff struct used to compare two BTreeMap’s
HashMapDiff
The diff struct used to compare two HashMap’s
HashSetDiff
The diff struct used to compare two HashSet’s
VecDiff
The collection of difference-vec’s

Enums§

OptionDiff
VecDiffType
The type of change to make to a vec

Traits§

Diff
A trait to diff and apply diffs between two structs The derive macro can be used on structs when all fields of the struct implement Diff Implementations are provided for bools, numeric types, Option types, and HashMaps
Differ
A trait allowing a custom struct to handle the diffing implementation for a type

Derive Macros§

Diff