[−][src]Crate lain_derive
Derive Macros
| BinarySerialize | Implements [lain::traits::BinarySerialize] on the given struct/enum.
The byteorder of fields can be overridden with |
| FuzzerObject | A "catch-all" derive for NewFuzzed, Mutatable, and VariableObjectSize |
| Mutatable | Automatically implements [trait@lain::traits::Mutatable] with basic randomization |
| NewFuzzed | Implements [rand::distributions::Standard] for enums that derive this trait.
This will allow you to use |
| ToPrimitiveU8 | Implements |
| ToPrimitiveU16 | Implements |
| ToPrimitiveU32 | Implements |
| ToPrimitiveU64 | Implements |
| VariableSizeObject | Automatically implements [trait@lain::traits::VariableSizeObject] |