[][src]Struct threadstack::ThreadStackWithInitialValue

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

The container for the underlying array used to implement the stack of values, when in the declaration and initial value for the stack was specified. This is only a separate type from ThreadStack so that a branch and possible panic can be omitted for slightly better performance and smaller generated code. 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.

Auto Trait Implementations

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.