pub struct _ThreadLocal { /* private fields */ }Expand description
The typed Token![threadLocal] atom.
Trait Implementations§
Source§impl Clone for _ThreadLocal
impl Clone for _ThreadLocal
Source§fn clone(&self) -> _ThreadLocal
fn clone(&self) -> _ThreadLocal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for _ThreadLocal
impl Debug for _ThreadLocal
impl Eq for _ThreadLocal
Source§impl From<_ThreadLocal> for QuoteSpecifier
impl From<_ThreadLocal> for QuoteSpecifier
Source§fn from(value: _ThreadLocal) -> Self
fn from(value: _ThreadLocal) -> Self
Converts to this type from the input type.
Source§impl Lex for _ThreadLocal
impl Lex for _ThreadLocal
Source§fn to_tokens(&self, output: &mut TokenStream)
fn to_tokens(&self, output: &mut TokenStream)
Appends this value’s token trees to
output.Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Emits this value into a fresh token stream.
Source§impl Parse for _ThreadLocal
impl Parse for _ThreadLocal
Source§fn parse(input: &mut ParseStream) -> Result<Self, TokenParseError>
fn parse(input: &mut ParseStream) -> Result<Self, TokenParseError>
Consumes this value from
input. Read moreSource§impl PartialEq for _ThreadLocal
impl PartialEq for _ThreadLocal
Source§impl PrettyTree for _ThreadLocal
impl PrettyTree for _ThreadLocal
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Source§impl<N> Reconstruct<N> for _ThreadLocalwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for _ThreadLocalwhere
N: ExternalCstNode,
Source§impl Spanned for _ThreadLocal
impl Spanned for _ThreadLocal
impl StructuralPartialEq for _ThreadLocal
Source§impl Token for _ThreadLocal
impl Token for _ThreadLocal
Source§const SPELLING: &'static str = "threadLocal"
const SPELLING: &'static str = "threadLocal"
Canonical spelling used in diagnostics and freshly constructed atoms.
Source§fn matches_token_tree(token: &TokenTree) -> bool
fn matches_token_tree(token: &TokenTree) -> bool
Tests whether a raw atom belongs to this closed token type.
Source§fn from_token_tree(token: TokenTree) -> Option<Self>
fn from_token_tree(token: TokenTree) -> Option<Self>
Validates and retains a raw atom as this typed token.
Auto Trait Implementations§
impl Freeze for _ThreadLocal
impl RefUnwindSafe for _ThreadLocal
impl Send for _ThreadLocal
impl Sync for _ThreadLocal
impl Unpin for _ThreadLocal
impl UnsafeUnpin for _ThreadLocal
impl UnwindSafe for _ThreadLocal
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more