struct Value<T: 'static> {
inner: LazyKeyInner<T>,
key: &'static Key<T>,
}
🔬This is a nightly-only experimental API. (
thread_local_internals
)Fields§
§inner: LazyKeyInner<T>
🔬This is a nightly-only experimental API. (
§thread_local_internals
)key: &'static Key<T>
🔬This is a nightly-only experimental API. (
thread_local_internals
)Auto Trait Implementations§
impl<T> !RefUnwindSafe for Value<T>
impl<T> Send for Value<T>where T: Send,
impl<T> !Sync for Value<T>
impl<T> Unpin for Value<T>where T: Unpin,
impl<T> !UnwindSafe for Value<T>
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