pub struct AssertPod<T: ?Sized>(/* private fields */);
Expand description
Transparent wrapper that asserts that a type is Pod
Implementations§
Trait Implementations§
impl<T: Copy + ?Sized> Copy for AssertPod<T>
impl<T: ?Sized> Pod for AssertPod<T>
Auto Trait Implementations§
impl<T: ?Sized> Freeze for AssertPod<T>where
T: Freeze,
impl<T: ?Sized> RefUnwindSafe for AssertPod<T>where
T: RefUnwindSafe,
impl<T: ?Sized> Send for AssertPod<T>where
T: Send,
impl<T: ?Sized> Sync for AssertPod<T>where
T: Sync,
impl<T: ?Sized> Unpin for AssertPod<T>where
T: Unpin,
impl<T: ?Sized> UnwindSafe for AssertPod<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more