pub(super) struct Scoped<T> {
pub(super) inner: Cell<*const T>,
}
Expand description
Scoped thread-local storage
Fields§
§inner: Cell<*const T>
Implementations§
Auto Trait Implementations§
impl<T> !Freeze for Scoped<T>
impl<T> !RefUnwindSafe for Scoped<T>
impl<T> !Send for Scoped<T>
impl<T> !Sync for Scoped<T>
impl<T> Unpin for Scoped<T>
impl<T> UnwindSafe for Scoped<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