diff --git a/src/pod.rs b/src/pod.rs index aef4af6..20b5648 100644 --- a/src/pod.rs +++ b/src/pod.rs @@ -66,6 +66,7 @@ unsafe impl Pod for *const T {} unsafe impl Pod for Option> {} unsafe impl Pod for PhantomData {} +unsafe impl Pod for PhantomPinned {} unsafe impl Pod for ManuallyDrop {} // Note(Lokathor): MaybeUninit can NEVER be Pod. diff --git a/src/zeroable.rs b/src/zeroable.rs index ae9e6ef..6cc1b31 100644 --- a/src/zeroable.rs +++ b/src/zeroable.rs @@ -59,6 +59,7 @@ unsafe impl Zeroable for *mut T {} unsafe impl Zeroable for *const T {} unsafe impl Zeroable for Option> {} unsafe impl Zeroable for PhantomData {} +unsafe impl Zeroable for PhantomPinned {} unsafe impl Zeroable for ManuallyDrop {} #[cfg(feature = "zeroable_maybe_uninit")]