Struct syn::ExprMethodCall [−][src]
pub struct ExprMethodCall { pub attrs: Vec<Attribute>, pub receiver: Box<Expr>, pub dot_token: Dot, pub method: Ident, pub turbofish: Option<MethodTurbofish>, pub paren_token: Paren, pub args: Punctuated<Expr, Comma>, }
A method call expression: x.foo::<T>(a, b)
.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
receiver: Box<Expr>
dot_token: Dot
method: Ident
turbofish: Option<MethodTurbofish>
paren_token: Paren
args: Punctuated<Expr, Comma>
Trait Implementations
impl Clone for ExprMethodCall
[src]
impl Clone for ExprMethodCall
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<ExprMethodCall> for Expr
[src]
impl From<ExprMethodCall> for Expr
[src]fn from(e: ExprMethodCall) -> Expr
[src]
impl Hash for ExprMethodCall
[src]
impl Hash for ExprMethodCall
[src]impl Parse for ExprMethodCall
[src]
impl Parse for ExprMethodCall
[src]fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<ExprMethodCall> for ExprMethodCall
[src]
impl PartialEq<ExprMethodCall> for ExprMethodCall
[src]impl ToTokens for ExprMethodCall
[src]
impl ToTokens for ExprMethodCall
[src]