Lines Matching refs:Immutable
32 unsafe_impl!((): Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes, Unaligned);
68 unsafe_impl!(u8: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes, Unaligned);
69 unsafe_impl!(i8: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes, Unaligned);
71 unsafe_impl!(u16: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
72 unsafe_impl!(i16: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
73 unsafe_impl!(u32: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
74 unsafe_impl!(i32: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
75 unsafe_impl!(u64: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
76 unsafe_impl!(i64: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
77 unsafe_impl!(u128: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
78 unsafe_impl!(i128: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
79 unsafe_impl!(usize: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
80 unsafe_impl!(isize: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
81 unsafe_impl!(f32: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
82 unsafe_impl!(f64: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
84 …unsafe_impl!(#[cfg_attr(doc_cfg, doc(cfg(feature = "float-nightly")))] f16: Immutable, TryFromByte…
86 …unsafe_impl!(#[cfg_attr(doc_cfg, doc(cfg(feature = "float-nightly")))] f128: Immutable, TryFromByt…
101 const _: () = unsafe { unsafe_impl!(bool: Immutable, FromZeros, IntoBytes, Unaligned) };
131 const _: () = unsafe { unsafe_impl!(char: Immutable, FromZeros, IntoBytes) };
165 const _: () = unsafe { unsafe_impl!(str: Immutable, FromZeros, IntoBytes, Unaligned) };
227 unsafe_impl!(NonZeroU8: Immutable, IntoBytes, Unaligned);
228 unsafe_impl!(NonZeroI8: Immutable, IntoBytes, Unaligned);
230 unsafe_impl!(NonZeroU16: Immutable, IntoBytes);
231 unsafe_impl!(NonZeroI16: Immutable, IntoBytes);
232 unsafe_impl!(NonZeroU32: Immutable, IntoBytes);
233 unsafe_impl!(NonZeroI32: Immutable, IntoBytes);
234 unsafe_impl!(NonZeroU64: Immutable, IntoBytes);
235 unsafe_impl!(NonZeroI64: Immutable, IntoBytes);
236 unsafe_impl!(NonZeroU128: Immutable, IntoBytes);
237 unsafe_impl!(NonZeroI128: Immutable, IntoBytes);
238 unsafe_impl!(NonZeroUsize: Immutable, IntoBytes);
239 unsafe_impl!(NonZeroIsize: Immutable, IntoBytes);
306 T: Sized => Immutable for Box<T>
382 … unsafe_impl_for_power_set!(A, B, C, D, E, F, G, H, I, J, K, L -> M => Immutable for opt_fn!(...));
383 …unsafe_impl_for_power_set!(A, B, C, D, E, F, G, H, I, J, K, L -> M => Immutable for opt_unsafe_fn!…
384 …unsafe_impl_for_power_set!(A, B, C, D, E, F, G, H, I, J, K, L -> M => Immutable for opt_extern_c_f…
385 …unsafe_impl_for_power_set!(A, B, C, D, E, F, G, H, I, J, K, L -> M => Immutable for opt_unsafe_ext…
654 unsafe_impl!(T: ?Sized => Immutable for PhantomData<T>);
679 const _: () = unsafe { unsafe_impl!(T: Immutable => Immutable for Wrapping<T>) };
711 const _: () = unsafe { unsafe_impl!(T: Immutable => Immutable for CoreMaybeUninit<T>) };
735 const _: () = unsafe { unsafe_impl!(T: ?Sized + Immutable => Immutable for ManuallyDrop<T>) };
893 unsafe_impl!(const N: usize, T: Immutable => Immutable for [T; N]);
910 unsafe_impl!(T: Immutable => Immutable for [T]);
966 unsafe_impl!(T: ?Sized => Immutable for *const T);
967 unsafe_impl!(T: ?Sized => Immutable for *mut T);
976 const _: () = unsafe { unsafe_impl!(T: ?Sized => Immutable for NonNull<T>) };
981 unsafe_impl!(T: ?Sized => Immutable for &'_ T);
982 unsafe_impl!(T: ?Sized => Immutable for &'_ mut T);
990 const _: () = unsafe { unsafe_impl!(T: Immutable => Immutable for Option<T>) };
1013 … unsafe_impl!($($head_T: Immutable,)* $next_T: Immutable => Immutable for ($($head_T,)* $next_T,));
1315 … $( unsafe_impl!($typ: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes); )*
1583 … impl<T: TryFromBytes + Immutable + ?Sized> TestIsBitValidShared<T> for AutorefWrapper<T> { in test_impls()
1601 … impl<T: TryFromBytes + Immutable + KnownLayout + ?Sized> TestTryFromRef<T> for AutorefWrapper<T> { in test_impls()
1644 impl<T: IntoBytes + Immutable + ?Sized> TestAsBytes<T> for AutorefWrapper<T> { in test_impls()
1912 Immutable, in test_impls()
1921 Immutable, in test_impls()
1930 Immutable, in test_impls()
1939 Immutable, in test_impls()
1948 Immutable, in test_impls()
1957 Immutable, in test_impls()
1966 Immutable, in test_impls()
1975 Immutable, in test_impls()
1984 Immutable, in test_impls()
1993 Immutable, in test_impls()
2002 Immutable, in test_impls()
2011 Immutable, in test_impls()
2020 Immutable, in test_impls()
2030 Immutable, in test_impls()
2039 Immutable, in test_impls()
2048 Immutable, in test_impls()
2058 Immutable, in test_impls()
2067 Immutable, in test_impls()
2076 Immutable, in test_impls()
2085 Immutable, in test_impls()
2095 Immutable, in test_impls()
2104 Immutable, in test_impls()
2113 Immutable, in test_impls()
2121 Immutable, in test_impls()
2129 Immutable, in test_impls()
2137 Immutable, in test_impls()
2145 Immutable, in test_impls()
2153 Immutable, in test_impls()
2161 Immutable, in test_impls()
2169 Immutable, in test_impls()
2177 Immutable, in test_impls()
2185 Immutable, in test_impls()
2192 …assert_impls!(Option<NonZeroU8>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes, IntoB… in test_impls()
2193 …assert_impls!(Option<NonZeroI8>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes, IntoB… in test_impls()
2194 …assert_impls!(Option<NonZeroU16>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes, Into… in test_impls()
2195 …assert_impls!(Option<NonZeroI16>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes, Into… in test_impls()
2196 …assert_impls!(Option<NonZeroU32>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes, Into… in test_impls()
2197 …assert_impls!(Option<NonZeroI32>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes, Into… in test_impls()
2198 …assert_impls!(Option<NonZeroU64>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes, Into… in test_impls()
2199 …assert_impls!(Option<NonZeroI64>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes, Into… in test_impls()
2200 …assert_impls!(Option<NonZeroU128>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes, Int… in test_impls()
2201 …assert_impls!(Option<NonZeroI128>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes, Int… in test_impls()
2202 …assert_impls!(Option<NonZeroUsize>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes, In… in test_impls()
2203 …assert_impls!(Option<NonZeroIsize>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes, In… in test_impls()
2221 …assert_impls!(Option<Box<UnsafeCell<NotZerocopy>>>: KnownLayout, Immutable, TryFromBytes, FromZero… in test_impls()
2222 …assert_impls!(Option<Box<[UnsafeCell<NotZerocopy>]>>: KnownLayout, !Immutable, !TryFromBytes, !Fro… in test_impls()
2223 …assert_impls!(Option<&'static UnsafeCell<NotZerocopy>>: KnownLayout, Immutable, TryFromBytes, From… in test_impls()
2224 …assert_impls!(Option<&'static [UnsafeCell<NotZerocopy>]>: KnownLayout, Immutable, !TryFromBytes, !… in test_impls()
2225 …assert_impls!(Option<&'static mut UnsafeCell<NotZerocopy>>: KnownLayout, Immutable, TryFromBytes, … in test_impls()
2226 …assert_impls!(Option<&'static mut [UnsafeCell<NotZerocopy>]>: KnownLayout, Immutable, !TryFromByte… in test_impls()
2227 …onNull<UnsafeCell<NotZerocopy>>>: KnownLayout, TryFromBytes, FromZeros, Immutable, !FromBytes, !In… in test_impls()
2228 …assert_impls!(Option<NonNull<[UnsafeCell<NotZerocopy>]>>: KnownLayout, Immutable, !TryFromBytes, !… in test_impls()
2229 …assert_impls!(Option<fn()>: KnownLayout, Immutable, TryFromBytes, FromZeros, !FromBytes, !IntoByte… in test_impls()
2230 …assert_impls!(Option<FnManyArgs>: KnownLayout, Immutable, TryFromBytes, FromZeros, !FromBytes, !In… in test_impls()
2231 …assert_impls!(Option<extern "C" fn()>: KnownLayout, Immutable, TryFromBytes, FromZeros, !FromBytes… in test_impls()
2232 …assert_impls!(Option<ECFnManyArgs>: KnownLayout, Immutable, TryFromBytes, FromZeros, !FromBytes, !… in test_impls()
2234 …assert_impls!(PhantomData<NotZerocopy>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes… in test_impls()
2235 …assert_impls!(PhantomData<UnsafeCell<()>>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBy… in test_impls()
2236 …assert_impls!(PhantomData<[u8]>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes, IntoB… 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 …nsafeCell<()>>: KnownLayout, TryFromBytes, FromZeros, FromBytes, IntoBytes, Unaligned, !Immutable); in test_impls()
2249 …safeCell<u8>]>: KnownLayout, TryFromBytes, FromZeros, FromBytes, IntoBytes, Unaligned, !Immutable); in test_impls()
2250 …eCell<bool>]>: KnownLayout, TryFromBytes, FromZeros, IntoBytes, Unaligned, !Immutable, !FromBytes); in test_impls()
2252 …assert_impls!(CoreMaybeUninit<u8>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes, Una… in test_impls()
2253 …eUninit<NotZerocopy>: KnownLayout, TryFromBytes, FromZeros, FromBytes, !Immutable, !IntoBytes, !Un… in test_impls()
2254 …safeCell<()>>: KnownLayout, TryFromBytes, FromZeros, FromBytes, Unaligned, !Immutable, !IntoBytes); in test_impls()
2256 …assert_impls!(Wrapping<u8>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes,… in test_impls()
2259 …assert_impls!(Wrapping<bool>: KnownLayout, Immutable, TryFromBytes, FromZeros, IntoBytes, Unaligne… in test_impls()
2260 …assert_impls!(Wrapping<NotZerocopy>: KnownLayout, !Immutable, !TryFromBytes, !FromZeros, !FromByte… in test_impls()
2261 …nsafeCell<()>>: KnownLayout, TryFromBytes, FromZeros, FromBytes, IntoBytes, Unaligned, !Immutable); in test_impls()
2263 …assert_impls!(Unalign<u8>: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes, … in test_impls()
2266 …assert_impls!(Unalign<bool>: KnownLayout, Immutable, TryFromBytes, FromZeros, IntoBytes, Unaligned… in test_impls()
2267 …assert_impls!(Unalign<NotZerocopy>: KnownLayout, Unaligned, !Immutable, !TryFromBytes, !FromZeros,… in test_impls()
2271 Immutable, in test_impls()
2280 Immutable, in test_impls()
2287 …assert_impls!([NotZerocopy]: KnownLayout, !Immutable, !TryFromBytes, !FromZeros, !FromBytes, !Into… in test_impls()
2290 Immutable, in test_impls()
2299 !Immutable, in test_impls()
2308 Immutable, in test_impls()
2317 !Immutable, in test_impls()
2325 …assert_impls!(*const NotZerocopy: KnownLayout, Immutable, TryFromBytes, FromZeros, !FromBytes, !In… in test_impls()
2326 …assert_impls!(*mut NotZerocopy: KnownLayout, Immutable, TryFromBytes, FromZeros, !FromBytes, !Into… in test_impls()
2327 …assert_impls!(*const [NotZerocopy]: KnownLayout, Immutable, !TryFromBytes, !FromZeros, !FromBytes,… in test_impls()
2328 …assert_impls!(*mut [NotZerocopy]: KnownLayout, Immutable, !TryFromBytes, !FromZeros, !FromBytes, !… in test_impls()
2329 …assert_impls!(*const dyn Debug: KnownLayout, Immutable, !TryFromBytes, !FromZeros, !FromBytes, !In… in test_impls()
2330 …assert_impls!(*mut dyn Debug: KnownLayout, Immutable, !TryFromBytes, !FromZeros, !FromBytes, !Into… in test_impls()
2340 …$( assert_impls!($typ: KnownLayout, Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes, !Una… in test_impls()