We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cafeb3 commit 668b33bCopy full SHA for 668b33b
crates/cust_core/src/lib.rs
@@ -88,6 +88,8 @@ pub mod _hidden {
88
89
NonZeroU8 NonZeroU16 NonZeroU32 NonZeroU64 NonZeroU128
90
);
91
+ unsafe impl<T> DeviceCopy for *const T {}
92
+ unsafe impl<T> DeviceCopy for *mut T {}
93
unsafe impl<T: DeviceCopy> DeviceCopy for MaybeUninit<T> {}
94
unsafe impl<T: DeviceCopy> DeviceCopy for Option<T> {}
95
unsafe impl<L: DeviceCopy, R: DeviceCopy> DeviceCopy for Result<L, R> {}
0 commit comments