Expand description
Derive macros for bytemuck traits.
Modules§
- traits 🔒
Functions§
- Add a trait marker to the generics if it is not already present
- Basic wrapper for error handling
- Find
#[name(key = "value")]
helper attributes on the struct, and return their"value"
s parsed withparser
.
Derive Macros§
- Derive the
AnyBitPattern
trait for a struct - Derive the
PartialEq
andEq
trait for a type - Derive the
Hash
trait for a type - Derive the
CheckedBitPattern
trait for a struct or enum. - Derive the
Contiguous
trait for an enum - Derive the
NoUninit
trait for a struct or enum - Derive the
Pod
trait for a struct - Derive the
TransparentWrapper
trait for a struct - Derive the
Zeroable
trait for a type.