Derive Macro musli_core::Encode
source · #[derive(Encode)]
{
// Attributes available to this derive:
#[musli]
}
Expand description
Derive which automatically implements the Encode trait.
See the derives module for detailed documentation.
§Examples
use musli::Encode;
#[derive(Encode)]
struct MyType {
data: [u8; 128],
}