Lines Matching refs:ThreadBound
4 /// ThreadBound is a Sync-maker and Send-maker that allows accessing a value
5 /// of type T only from the original thread on which the ThreadBound was
7 pub(crate) struct ThreadBound<T> {
12 unsafe impl<T> Sync for ThreadBound<T> {}
18 unsafe impl<T: Copy> Send for ThreadBound<T> {}
20 impl<T> ThreadBound<T> {
22 ThreadBound {
37 impl<T: Debug> Debug for ThreadBound<T> {
54 impl<T: Copy> Copy for ThreadBound<T> {}
56 impl<T: Copy> Clone for ThreadBound<T> {