Struct jemalloc_ctl::thread::ThreadLocal[][src]

pub struct ThreadLocal<T>(_);

A thread-local pointer.

It is neither Sync nor Send.

Methods

impl<T> ThreadLocal<T> where
    T: Copy
[src]

Returns the current value at the pointer.

Trait Implementations

impl<T: Copy> Copy for ThreadLocal<T>
[src]

impl<T: Clone> Clone for ThreadLocal<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<T> !Send for ThreadLocal<T>

impl<T> !Sync for ThreadLocal<T>