Struct shadow_shim_helper_rs::util::SyncSendPointer
source · pub struct SyncSendPointer<T>(/* private fields */);
Expand description
A type that allows us to make a pointer Send + Sync since there is no way to add these traits to the pointer itself.
Implementations§
Trait Implementations§
source§impl<T> Clone for SyncSendPointer<T>
impl<T> Clone for SyncSendPointer<T>
source§impl<T> Debug for SyncSendPointer<T>
impl<T> Debug for SyncSendPointer<T>
source§impl<T> PartialEq for SyncSendPointer<T>
impl<T> PartialEq for SyncSendPointer<T>
impl<T> Copy for SyncSendPointer<T>
impl<T> Eq for SyncSendPointer<T>
impl<T> Send for SyncSendPointer<T>
impl<T> Sync for SyncSendPointer<T>
Auto Trait Implementations§
impl<T> Freeze for SyncSendPointer<T>
impl<T> RefUnwindSafe for SyncSendPointer<T>where
T: RefUnwindSafe,
impl<T> Unpin for SyncSendPointer<T>
impl<T> UnwindSafe for SyncSendPointer<T>where
T: RefUnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)