Expand description
This crate provides a derive macro for the BFieldCodec trait.
The macro emits statements starting with:
use crate::twenty_first::
Crates that use this macro must add a use statement twenty_first
in their lib.rs:
use twenty_first;
or if using twenty-first via re-export in dep_crate:
use dep_crate::twenty_first;
Failure to do so will result in compile errors.
Derive Macrosยง
- BField
Codec - Derives
BFieldCodecfor structs and enums.