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>, }
This is supported on crate feature
full
only.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]This is supported on crate feature
clone-impls
only.fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ExprMethodCall
[src]
impl Debug for ExprMethodCall
[src]This is supported on crate feature
extra-traits
only.impl Eq for ExprMethodCall
[src]
impl Eq for ExprMethodCall
[src]This is supported on crate feature
extra-traits
only.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]This is supported on crate feature
extra-traits
only.impl Parse for ExprMethodCall
[src]
impl Parse for ExprMethodCall
[src]This is supported on crate feature
parsing
only.fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<ExprMethodCall> for ExprMethodCall
[src]
impl PartialEq<ExprMethodCall> for ExprMethodCall
[src]This is supported on crate feature
extra-traits
only.impl ToTokens for ExprMethodCall
[src]
impl ToTokens for ExprMethodCall
[src]This is supported on crate feature
printing
only.fn to_tokens(&self, tokens: &mut TokenStream)
[src]
pub fn to_token_stream(&self) -> TokenStream
[src]
pub fn into_token_stream(self) -> TokenStream
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExprMethodCall
impl RefUnwindSafe for ExprMethodCall
impl !Send for ExprMethodCall
impl !Send for ExprMethodCall
impl !Sync for ExprMethodCall
impl !Sync for ExprMethodCall
impl Unpin for ExprMethodCall
impl Unpin for ExprMethodCall
impl UnwindSafe for ExprMethodCall
impl UnwindSafe for ExprMethodCall