@@ -747,7 +747,7 @@ implementation are considered deep-copy.
747
747
There is a blanket implementation for the [ ` DeepCopy ` ] trait for all types
748
748
implementing [ ` CopyType ` ] with associated type [ ` CopyType::Copy ` ] equal to
749
749
[ ` Deep ` ] and also implementing [ ` SerInner ` ] with [ ` SerInner::SerType ` ]
750
- implementing [ ` TypeHash ` ] and [ ` ReprHash ` ] (i.e., the serialization type must
750
+ implementing [ ` TypeHash ` ] and [ ` AlignHash ` ] (i.e., the serialization type must
751
751
implement such traits).
752
752
753
753
There is analogously a blanket implementation for the [ ` ZeroCopy ` ] trait for all
@@ -827,7 +827,7 @@ An ε-serde serialization process involves two types:
827
827
828
828
* ` S ` , the _ serializable type_ , which is the type of the instance you want to
829
829
serialize. It must implement [ ` SerInner ` ] with associated type
830
- [ ` SerInner::SerType ` ] implementing [ ` TypeHash ` ] and [ ` ReprHash ` ] (which
830
+ [ ` SerInner::SerType ` ] implementing [ ` TypeHash ` ] and [ ` AlignHash ` ] (which
831
831
implies [ ` Serialize ` ] on ` S ` by a blanket implementation).
832
832
833
833
* Its associated _ serialization type_ ` <S as SerInner>::SerType ` .
@@ -849,7 +849,7 @@ An ε-serde deserialization process involves instead three types:
849
849
850
850
* ` D ` , the _ deserializable type_ , which must implement [ ` DeserInner ` ] , and again
851
851
[ ` SerInner ` ] with associated type [ ` SerInner::SerType ` ] implementing
852
- [ ` TypeHash ` ] and [ ` ReprHash ` ] , so the blanket implementation for
852
+ [ ` TypeHash ` ] and [ ` AlignHash ` ] , so the blanket implementation for
853
853
[ ` Deserialize ` ] applies. This is the type on which deserialization methods are
854
854
invoked.
855
855
@@ -994,11 +994,11 @@ used to make a structure zero-copy, albeit it must satisfy [a few
994
994
prerequisites] .
995
995
996
996
You can also implement manually the traits [ ` CopyType ` ] , [ ` AlignTo ` ] ,
997
- [ ` TypeHash ` ] , [ ` ReprHash ` ] , [ ` SerInner ` ] , and [ ` DeserInner ` ] , but
997
+ [ ` TypeHash ` ] , [ ` AlignHash ` ] , [ ` SerInner ` ] , and [ ` DeserInner ` ] , but
998
998
the process is error-prone, and you must be fully aware of ε-serde's
999
999
conventions. The procedural macro [ ` TypeInfo ` ] can be used to generate
1000
1000
automatically at least [ ` CopyType ` ] , [ ` AlignTo ` ] , [ ` TypeHash ` ] , and
1001
- [ ` ReprHash ` ] automatically.
1001
+ [ ` AlignHash ` ] automatically.
1002
1002
1003
1003
## Acknowledgments
1004
1004
0 commit comments