[−][src]Struct threadstack::ThreadStack
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]
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]
T: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> MetaData for T
[src]
type Data = ()
the type of meta data a type carries
pub fn data(&T) -> <T as MetaData>::Data
[src]
pub unsafe fn compose(
ptr: Option<NonNull<u8>>,
<T as MetaData>::Data
) -> Option<NonNull<T>>
[src]
ptr: Option<NonNull<u8>>,
<T as MetaData>::Data
) -> Option<NonNull<T>>
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,