pub struct ExprMethodCall { /* private fields */ }
Expand description
A method call (x.foo::<Bar, Baz>(a, b, c, d)
)
The Ident
is the identifier for the method name.
The vector of Ty
s are the ascripted type parameters for the method
(within the angle brackets).
Thus, x.foo::<Bar, Baz>(a, b, c, d)
is represented as
ExprKind::MethodCall(foo, [Bar, Baz], [x, a, b, c, d])
.
Trait Implementations§
Source§impl Clone for ExprMethodCall
impl Clone for ExprMethodCall
Source§fn clone(&self) -> ExprMethodCall
fn clone(&self) -> ExprMethodCall
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<ExprMethodCall> for ExprKind
impl From<ExprMethodCall> for ExprKind
Source§fn from(e: ExprMethodCall) -> ExprKind
fn from(e: ExprMethodCall) -> ExprKind
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExprMethodCall
impl RefUnwindSafe for ExprMethodCall
impl Send for ExprMethodCall
impl Sync for ExprMethodCall
impl Unpin for ExprMethodCall
impl UnwindSafe for ExprMethodCall
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