Lines Matching refs:KnownLayout
24 AlignmentError, CastError, CastType, KnownLayout, SizeError, TryFromBytes, ValidityError,
1011 T: 'a + KnownLayout + ?Sized,
1109 U: 'a + ?Sized + KnownLayout + Read<I::Aliasing, R>, in try_cast_into()
1177 U: 'a + ?Sized + KnownLayout + Read<I::Aliasing, R>, in try_cast_into_no_leftover()
1308 T: 'a + ?Sized + KnownLayout<PointerMetadata = usize>,
1348 T: ?Sized + KnownLayout + Immutable + FromBytes, in test()
1378 T: ?Sized + KnownLayout + FromBytes + Immutable, in test()
1433 KnownLayout::pointer_to_metadata(slf.as_inner().as_ptr()); in test()
1448 let got = KnownLayout::pointer_to_metadata(slf.as_inner().as_ptr()); in test()
1457 #[derive(FromBytes, KnownLayout, Immutable)]
1517 assert_eq!(KnownLayout::pointer_to_metadata(ptr.as_inner().as_ptr()), expect); in test_try_cast_into_explicit_count()
1524 #[derive(KnownLayout, Immutable)] in test_try_cast_into_explicit_count()
1537 #[derive(KnownLayout, Immutable)] in test_try_cast_into_explicit_count()