Struct macro_magic_core::ForwardTokensExtraArg
source · pub struct ForwardTokensExtraArg {
pub stream: TokenStream,
/* private fields */
}
Expand description
Used to parse args that were passed to forward_tokens_internal
and
forward_tokens_inner_internal
.
You shouldn’t need to use this directly.
Fields§
§stream: TokenStream
Contains the underlying TokenStream2
inside the brace.
Trait Implementations§
source§impl Parse for ForwardTokensExtraArg
impl Parse for ForwardTokensExtraArg
fn parse(__parse_input: ParseStream<'_>) -> Result<Self>
source§impl ToTokens for ForwardTokensExtraArg
impl ToTokens for ForwardTokensExtraArg
source§fn to_tokens(&self, tokens: &mut TokenStream2)
fn to_tokens(&self, tokens: &mut TokenStream2)
source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for ForwardTokensExtraArg
impl RefUnwindSafe for ForwardTokensExtraArg
impl !Send for ForwardTokensExtraArg
impl !Sync for ForwardTokensExtraArg
impl Unpin for ForwardTokensExtraArg
impl UnwindSafe for ForwardTokensExtraArg
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
source§impl<T> Spanned for Twhere
T: Spanned + ?Sized,
impl<T> Spanned for Twhere
T: Spanned + ?Sized,
source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty.