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 - 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.