Lines Matching refs:DstLayout
797 const LAYOUT: DstLayout;
929 DstLayout::MAX_SIZE, in maximum_trailing_slice_len()
969 fn size_for_metadata(self, layout: DstLayout) -> Option<usize>; in size_for_metadata()
983 fn size_for_metadata(self, layout: DstLayout) -> Option<usize> { in size_for_metadata()
1005 fn size_for_metadata(self, layout: DstLayout) -> Option<usize> { in size_for_metadata()
1063 const LAYOUT: DstLayout = DstLayout::for_slice::<T>();
6511 |offset, align, trailing_slice_elem_size, statically_shallow_unpadded| DstLayout { in test_known_layout()
6585 let sized_layout = |align, size| DstLayout { in test_known_layout_derive()
6591 let unsized_layout = |align, elem_size, offset, statically_shallow_unpadded| DstLayout { in test_known_layout_derive()
6603 let expected = DstLayout::for_type::<KL01>(); in test_known_layout_derive()
6614 let expected = DstLayout::for_type::<KL01Align>(); in test_known_layout_derive()
6625 let expected = DstLayout::for_type::<KL01Packed>(); in test_known_layout_derive()
6638 let expected = DstLayout::for_type::<KL01PackedN>(); in test_known_layout_derive()
6649 let expected = DstLayout::for_type::<KL03>(); in test_known_layout_derive()
6660 let expected = DstLayout::for_type::<KL03Align>(); in test_known_layout_derive()
6671 let expected = DstLayout::for_type::<KL03Packed>(); in test_known_layout_derive()
6684 let expected = DstLayout::for_type::<KL03PackedN>(); in test_known_layout_derive()
6716 let expected = DstLayout::new_zst(None) in test_known_layout_derive()
6717 .extend(DstLayout::for_type::<NotKnownLayout<AU32>>(), None) in test_known_layout_derive()
6732 let expected = DstLayout::new_zst(repr_align) in test_known_layout_derive()
6733 .extend(DstLayout::for_type::<NotKnownLayout<AU32>>(), None) in test_known_layout_derive()
6748 let expected = DstLayout::new_zst(None) in test_known_layout_derive()
6749 .extend(DstLayout::for_type::<NotKnownLayout<AU32>>(), repr_packed) in test_known_layout_derive()
6764 let expected = DstLayout::new_zst(None) in test_known_layout_derive()
6765 .extend(DstLayout::for_type::<NotKnownLayout<AU32>>(), repr_packed) in test_known_layout_derive()
6779 let expected = DstLayout::new_zst(None) in test_known_layout_derive()
6780 .extend(DstLayout::for_type::<NotKnownLayout<AU64>>(), None) in test_known_layout_derive()
6795 let expected = DstLayout::new_zst(repr_align) in test_known_layout_derive()
6796 .extend(DstLayout::for_type::<NotKnownLayout<AU64>>(), None) in test_known_layout_derive()
6811 let expected = DstLayout::new_zst(None) in test_known_layout_derive()
6812 .extend(DstLayout::for_type::<NotKnownLayout<AU64>>(), repr_packed) in test_known_layout_derive()
6827 let expected = DstLayout::new_zst(None) in test_known_layout_derive()
6828 .extend(DstLayout::for_type::<NotKnownLayout<AU64>>(), repr_packed) in test_known_layout_derive()