[][src]Module visit_diff::record

Records a diff in a general data structure that can then be analyzed without knowledge of the original types involved.

This is particularly useful when testing a Diff implementation separately from any particular Differ, but you might find other uses for it.

Structs

Enum

Representation of differences between two values of an enum type that use the same discriminator.

Struct

Representation of differences between two structs of a common type.

Tuple

Representation of differences between two tuples of a common type.

Enums

Element

Difference between two sequences or sets at a single position.

Value

A representation of differences between two values of a single Rust type.

Variant

Shape of an enum variant.

Functions

record_diff

Produces a Value describing differences between a and b.