pub enum ExprQuote {
Symbol(ExprQuoteSymbol),
Local(ExprQuoteLocal),
Global(ExprQuoteGlobal),
ThreadVariable(ExprQuoteThreadVariable),
ThreadLocal(ExprQuoteThreadLocal),
}Expand description
Enum generated by strutuct! for ExprQuote.
Variants§
Symbol(ExprQuoteSymbol)
Variant ExprQuote::Symbol generated by strutuct!.
Local(ExprQuoteLocal)
Variant ExprQuote::Local generated by strutuct!.
Global(ExprQuoteGlobal)
Variant ExprQuote::Global generated by strutuct!.
ThreadVariable(ExprQuoteThreadVariable)
Variant ExprQuote::ThreadVariable generated by strutuct!.
ThreadLocal(ExprQuoteThreadLocal)
Variant ExprQuote::ThreadLocal generated by strutuct!.
Trait Implementations§
Source§impl From<ExprQuote> for PackedContent
impl From<ExprQuote> for PackedContent
Source§impl From<ExprQuoteGlobal> for ExprQuote
impl From<ExprQuoteGlobal> for ExprQuote
Source§fn from(value: ExprQuoteGlobal) -> Self
fn from(value: ExprQuoteGlobal) -> Self
Converts to this type from the input type.
Source§impl From<ExprQuoteLocal> for ExprQuote
impl From<ExprQuoteLocal> for ExprQuote
Source§fn from(value: ExprQuoteLocal) -> Self
fn from(value: ExprQuoteLocal) -> Self
Converts to this type from the input type.
Source§impl From<ExprQuoteSymbol> for ExprQuote
impl From<ExprQuoteSymbol> for ExprQuote
Source§fn from(value: ExprQuoteSymbol) -> Self
fn from(value: ExprQuoteSymbol) -> Self
Converts to this type from the input type.
Source§impl From<ExprQuoteThreadLocal> for ExprQuote
impl From<ExprQuoteThreadLocal> for ExprQuote
Source§fn from(value: ExprQuoteThreadLocal) -> Self
fn from(value: ExprQuoteThreadLocal) -> Self
Converts to this type from the input type.
Source§impl From<ExprQuoteThreadVariable> for ExprQuote
impl From<ExprQuoteThreadVariable> for ExprQuote
Source§fn from(value: ExprQuoteThreadVariable) -> Self
fn from(value: ExprQuoteThreadVariable) -> Self
Converts to this type from the input type.
Source§impl Lex for ExprQuote
impl Lex for ExprQuote
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<N> Migrate<N> for ExprQuotewhere
N: ExternalCstNode,
impl<N> Migrate<N> for ExprQuotewhere
N: ExternalCstNode,
Source§impl PrettyTree for ExprQuote
impl PrettyTree for ExprQuote
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Auto Trait Implementations§
impl Freeze for ExprQuote
impl RefUnwindSafe for ExprQuote
impl Send for ExprQuote
impl Sync for ExprQuote
impl Unpin for ExprQuote
impl UnsafeUnpin for ExprQuote
impl UnwindSafe for ExprQuote
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