Struct xmz_server::prelude::thread::__FastLocalKeyInner [−][src]
pub struct __FastLocalKeyInner<T> { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (
thread_local_internals
)Methods
impl<T> Key<T>
[src]
impl<T> Key<T>
pub const fn new() -> Key<T>
[src]
pub const fn new() -> Key<T>
🔬 This is a nightly-only experimental API. (
thread_local_internals
)pub unsafe fn get(&self) -> Option<&'static UnsafeCell<Option<T>>>
[src]
pub unsafe fn get(&self) -> Option<&'static UnsafeCell<Option<T>>>
🔬 This is a nightly-only experimental API. (
thread_local_internals
)