Lines Matching refs:ManuallyDrop
735 const _: () = unsafe { unsafe_impl!(T: ?Sized + Immutable => Immutable for ManuallyDrop<T>) };
737 impl_for_transmute_from!(T: ?Sized + TryFromBytes => TryFromBytes for ManuallyDrop<T>[T]);
738 impl_for_transmute_from!(T: ?Sized + FromZeros => FromZeros for ManuallyDrop<T>[T]);
739 impl_for_transmute_from!(T: ?Sized + FromBytes => FromBytes for ManuallyDrop<T>[T]);
740 impl_for_transmute_from!(T: ?Sized + IntoBytes => IntoBytes for ManuallyDrop<T>[T]);
748 const _: () = unsafe { unsafe_impl!(T: ?Sized + Unaligned => Unaligned for ManuallyDrop<T>) };
749 assert_unaligned!(ManuallyDrop<()>, ManuallyDrop<u8>);
761 unsafe impl<T: ?Sized> HasTag for ManuallyDrop<T> { implementation
801 for ManuallyDrop<T>
1538 ManuallyDrop<bool> in test_impls()
1539 => @success ManuallyDrop::new(false), ManuallyDrop::new(true), in test_impls()
1541 ManuallyDrop<[u8]> in test_impls()
1542 …=> @success bx!(ManuallyDrop::new([])), bx!(ManuallyDrop::new([0u8])), bx!(ManuallyDrop::new([0u8,… in test_impls()
1543 ManuallyDrop<[bool]> in test_impls()
1544 …=> @success bx!(ManuallyDrop::new([])), bx!(ManuallyDrop::new([false])), bx!(ManuallyDrop::new([fa… in test_impls()
1546 ManuallyDrop<[UnsafeCell<u8>]> in test_impls()
1547 …=> @success bx!(ManuallyDrop::new([UnsafeCell::new(0)])), bx!(ManuallyDrop::new([UnsafeCell::new(0… in test_impls()
1548 ManuallyDrop<[UnsafeCell<bool>]> in test_impls()
1549 …=> @success bx!(ManuallyDrop::new([UnsafeCell::new(false)])), bx!(ManuallyDrop::new([UnsafeCell::n… in test_impls()
1699 ManuallyDrop<UnsafeCell<()>>, in test_impls()
1700 ManuallyDrop<[UnsafeCell<u8>]>, in test_impls()
1701 ManuallyDrop<[UnsafeCell<bool>]>, in test_impls()
1714 ManuallyDrop<[UnsafeCell<bool>]> in test_impls()
1743 ManuallyDrop<[u8]>, in test_impls()
1744 ManuallyDrop<[bool]>, in test_impls()
1745 ManuallyDrop<[UnsafeCell<bool>]>, in test_impls()
1767 ManuallyDrop<UnsafeCell<()>>, in test_impls()
1768 ManuallyDrop<[UnsafeCell<u8>]>, in test_impls()
1769 ManuallyDrop<[UnsafeCell<bool>]>, in test_impls()
2238 …assert_impls!(ManuallyDrop<u8>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes, IntoBy… in test_impls()
2241 …assert_impls!(ManuallyDrop<bool>: KnownLayout, Immutable, TryFromBytes, FromZeros, IntoBytes, Unal… in test_impls()
2242 …assert_impls!(ManuallyDrop<[u8]>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes, Into… in test_impls()
2245 …assert_impls!(ManuallyDrop<[bool]>: KnownLayout, Immutable, TryFromBytes, FromZeros, IntoBytes, Un… in test_impls()
2246 …assert_impls!(ManuallyDrop<NotZerocopy>: !Immutable, !TryFromBytes, !KnownLayout, !FromZeros, !Fro… in test_impls()
2247 …assert_impls!(ManuallyDrop<[NotZerocopy]>: KnownLayout, !Immutable, !TryFromBytes, !FromZeros, !Fr… in test_impls()
2248 …assert_impls!(ManuallyDrop<UnsafeCell<()>>: KnownLayout, TryFromBytes, FromZeros, FromBytes, IntoB… in test_impls()
2249 …assert_impls!(ManuallyDrop<[UnsafeCell<u8>]>: KnownLayout, TryFromBytes, FromZeros, FromBytes, Int… in test_impls()
2250 …assert_impls!(ManuallyDrop<[UnsafeCell<bool>]>: KnownLayout, TryFromBytes, FromZeros, IntoBytes, U… in test_impls()