[][src]Struct threadstack::ThreadStack

pub struct ThreadStack<T> { /* fields omitted */ }

The container for the underlying array used to implement the stack of values when the stack is not given an initial value (for that see ThreadStackWithInitialValue). Generally you will only ever see this type wrapped inside of std::thread:LocalKey, and there is never any reason really to use it directly. Instead use declare_thread_stacks!, let_ref_thread_stack_value!, push_thread_stack_value! and clone_thread_stack_value.

Implementations

impl<T> ThreadStack<T>[src]

pub fn new() -> Self[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for ThreadStack<T>[src]

impl<T> !Send for ThreadStack<T>[src]

impl<T> !Sync for ThreadStack<T>[src]

impl<T> Unpin for ThreadStack<T>[src]

impl<T> UnwindSafe for ThreadStack<T> where
    T: RefUnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MetaData for T[src]

type Data = ()

the type of meta data a type carries

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.