Struct std::thread::local::lazy::LazyKeyInner[][src]

pub struct LazyKeyInner<T> {
    inner: UnsafeCell<Option<T>>,
}
🔬 This is a nightly-only experimental API. (thread_local_internals)

Fields

inner: UnsafeCell<Option<T>>
🔬 This is a nightly-only experimental API. (thread_local_internals)

Implementations

🔬 This is a nightly-only experimental API. (thread_local_internals)
🔬 This is a nightly-only experimental API. (thread_local_internals)
🔬 This is a nightly-only experimental API. (thread_local_internals)

The caller must ensure that no reference is active: this method needs unique access.

🔬 This is a nightly-only experimental API. (thread_local_internals)

The other methods hand out references while taking &self. As such, callers of this method must ensure no & and &mut are available and used at the same time.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.