bytemuck/src
Robin Appelman cf944452b7
add basic derive macro for Pod, Zeroable and TransparentWrapper for structs (#30)
* add basic derive macro for Pod and Zeroable for structs

* add derive macro for TransparentWrapper

* use core::mem::size_of instead of std::mem::size_of in generated code

* cleanup error handling a bit

* remove unneeded iter logic

* remove unneeded clone and order impl

* fix generics

* fix doc typo

Co-authored-by: Lucien Greathouse <me@lpghatguy.com>

* remove unneeded lifetime anotation

* use unreachable for already rejected patch

Co-authored-by: Lucien Greathouse <me@lpghatguy.com>
2020-08-20 19:04:36 -06:00
..
allocation.rs convert to resize_with 2020-07-25 15:53:27 -06:00
contiguous.rs Add Contiguous trait 2019-12-11 19:04:23 -08:00
lib.rs add basic derive macro for Pod, Zeroable and TransparentWrapper for structs (#30) 2020-08-20 19:04:36 -06:00
offset_of.rs update offset_of to have 2-arg and 3-arg versions. 2020-07-23 20:21:09 -06:00
pod.rs Pod safety documentation change 2020-01-29 01:08:14 -07:00
transparent.rs Part of https://github.com/Lokathor/bytemuck/issues/21 2020-07-24 06:57:41 -06:00
zeroable.rs opt-in zeroable for maybe_unint 2020-08-19 21:43:44 -06:00