Searched refs:AU16 (Results 1 – 1 of 1) sorted by relevance
| /linux/rust/zerocopy/src/ |
| H A D | lib.rs | 6580 type AU16 = AlignSize<2, 2>; in test_known_layout_derive() typedef 6601 struct KL01(NotKnownLayout<AU32>, NotKnownLayout<AU16>); in test_known_layout_derive() 6612 struct KL01Align(NotKnownLayout<AU32>, NotKnownLayout<AU16>); in test_known_layout_derive() 6623 struct KL01Packed(NotKnownLayout<AU32>, NotKnownLayout<AU16>); in test_known_layout_derive() 6634 struct KL01PackedN(NotKnownLayout<AU32>, NotKnownLayout<AU16>); in test_known_layout_derive() 6874 assert_eq!(<KLTU<(), AU16> as KnownLayout>::LAYOUT, sized_layout(2, 2)); in test_known_layout_derive() 6880 assert_eq!(<KLTU<(), [AU16]> as KnownLayout>::LAYOUT, unsized_layout(2, 2, 0, false)); in test_known_layout_derive() 6886 assert_eq!(<KLTU<u8, AU16> as KnownLayout>::LAYOUT, sized_layout(2, 4)); in test_known_layout_derive() 6892 assert_eq!(<KLTU<u8, [AU16]> as KnownLayout>::LAYOUT, unsized_layout(2, 2, 2, false)); in test_known_layout_derive() 6894 assert_eq!(<KLTU<AU16, ()> as KnownLayout>::LAYOUT, sized_layout(2, 2)); in test_known_layout_derive() [all …]
|