pub struct WrappedFuncCall<'__> {
pub outer_scope: Option<(&'__ Generics, ImplOrTrait<'__>)>,
pub sig: Signature,
pub block: Block,
pub call_site_args: Vec<Expr>,
pub awaited: Option<TokenStream>,
}
Fields§
§outer_scope: Option<(&'__ Generics, ImplOrTrait<'__>)>
§sig: Signature
§block: Block
§call_site_args: Vec<Expr>
§awaited: Option<TokenStream>
Trait Implementations§
Source§impl ToTokens for WrappedFuncCall<'_>
impl ToTokens for WrappedFuncCall<'_>
Source§fn to_tokens(&self, out: &mut TokenStream)
fn to_tokens(&self, out: &mut TokenStream)
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 WrappedFuncCall<'__>
impl<'__> RefUnwindSafe for WrappedFuncCall<'__>
impl<'__> !Send for WrappedFuncCall<'__>
impl<'__> !Sync for WrappedFuncCall<'__>
impl<'__> Unpin for WrappedFuncCall<'__>
impl<'__> UnwindSafe for WrappedFuncCall<'__>
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.