bytemuck/tests
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
..
cast_slice_tests.rs cargo fmt is a strict one 2019-11-03 23:55:51 -07:00
derive.rs add basic derive macro for Pod, Zeroable and TransparentWrapper for structs (#30) 2020-08-20 19:04:36 -06:00
doc_tests.rs Duplicate the doctests for the sake of miri 2020-01-11 08:01:58 -08:00
offset_of_tests.rs update offset_of to have 2-arg and 3-arg versions. 2020-07-23 20:21:09 -06:00
std_tests.rs Duplicate the doctests for the sake of miri 2020-01-11 08:01:58 -08:00