Lines Matching defs:Copy
14 // Send bound requires Copy, as otherwise Drop could run in the wrong place.
16 // Today Copy and Drop are mutually exclusive so `T: Copy` implies `T: !Drop`.
18 unsafe impl<T: Copy> Send for ThreadBound<T> {}
46 // Copy the bytes of T, even if the currently running thread is the "wrong"
50 // Currently `T: Copy` is sufficient to guarantee that T contains no interior
52 // std::cell::UnsafeCell, which has no Copy impl. This impl needs to be
54 impl<T: Copy> Copy for ThreadBound<T> {}
56 impl<T: Copy> Clone for ThreadBound<T> {