Expand description
Derive macros for bytemuck traits.
Modulesยง
- traits ๐
Functionsยง
- add_
trait_ ๐marker - Add a trait marker to the generics if it is not already present
- derive_
marker_ ๐trait - Basic wrapper for error handling
- derive_
marker_ ๐trait_ inner - find_
and_ ๐parse_ helper_ attributes - Find
#[name(key = "value")]helper attributes on the struct, and return their"value"s parsed withparser.
Derive Macrosยง
- AnyBit
Pattern - Derive the
AnyBitPatterntrait for a struct - ByteEq
- Derive the
PartialEqandEqtrait for a type - Byte
Hash - Derive the
Hashtrait for a type - Checked
BitPattern - Derive the
CheckedBitPatterntrait for a struct or enum. - Contiguous
- Derive the
Contiguoustrait for an enum - NoUninit
- Derive the
NoUninittrait for a struct or enum - Pod
- Derive the
Podtrait for a struct - Transparent
Wrapper - Derive the
TransparentWrappertrait for a struct - Zeroable
- Derive the
Zeroabletrait for a type.