Macros§
Traits§
- SizeOf
- Trait for types that can report their size in bytes. There are two methods:
Derive Macros§
- SizeOf
- This macro derives the
SizeOftrait for structs and enums, allowing them to calculate their dynamic size and total size in bytes.