struct SendPtr<T: ?Sized>(*mut T);Expand description
A pointer that may cross threads: par_run guarantees what it points to outlives the job.
Tuple Fields§
§0: *mut TTrait Implementations§
Auto Trait Implementations§
impl<T> Freeze for SendPtr<T>where
T: ?Sized,
impl<T> RefUnwindSafe for SendPtr<T>where
T: RefUnwindSafe + ?Sized,
impl<T> !Sync for SendPtr<T>
impl<T> Unpin for SendPtr<T>where
T: ?Sized,
impl<T> UnsafeUnpin for SendPtr<T>where
T: ?Sized,
impl<T> UnwindSafe for SendPtr<T>where
T: RefUnwindSafe + ?Sized,
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