Expand description
Derive macros for the temp_inst
crate. These can be used to implement temp_inst::TempRepr
etc. for a struct or enum consisting entirely of items implementing TempRepr
, identically to
the implementation for the corresponding tuple or either::Either
.
Using a custom type as a TempRepr
instance is particularly useful when additional traits must
be implemented for the type.
Derive Macrosยง
- Temp
Repr - Derives
temp_inst::TempRepr
for the given struct or enum. - Temp
Repr Mut - Derives
temp_inst::TempReprMut
for the given struct or enum. - Temp
Repr MutChk - Derives
temp_inst::TempReprMutChk
for the given struct or enum.