#derive #re-exports #deriving #struct #diff #naively

macro visit_diff_derive

Deriving for visit_diff. Re-exported by visit_diff.

1 unstable release

0.1.0 Feb 17, 2019

#55 in #deriving


Used in visit_diff

BSD-2-Clause

14KB
222 lines

Derives the Diff trait naively, using the literal structure of the datatype.


Deriving for visit_diff's Diff trait

This crate provides an implementation of #[derive(Diff)] for structs and enums. Its deriving macro is re-exported by the visit_diff crate, so you generally don't need to use this crate directly.

Dependencies

~2MB
~48K SLoC