Struct ruast::MethodCall
source · pub struct MethodCall {
pub receiver: Box<Expr>,
pub seg: PathSegment,
pub args: Vec<Expr>,
}Fields§
§receiver: Box<Expr>§seg: PathSegment§args: Vec<Expr>Implementations§
Trait Implementations§
source§impl Clone for MethodCall
impl Clone for MethodCall
source§fn clone(&self) -> MethodCall
fn clone(&self) -> MethodCall
Returns a copy 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 Debug for MethodCall
impl Debug for MethodCall
source§impl Display for MethodCall
impl Display for MethodCall
source§impl From<MethodCall> for ExprKind
impl From<MethodCall> for ExprKind
source§fn from(item: MethodCall) -> Self
fn from(item: MethodCall) -> Self
Converts to this type from the input type.
source§impl From<MethodCall> for Stmt
impl From<MethodCall> for Stmt
source§fn from(item: MethodCall) -> Self
fn from(item: MethodCall) -> Self
Converts to this type from the input type.
source§impl From<MethodCall> for TokenStream
impl From<MethodCall> for TokenStream
source§fn from(value: MethodCall) -> Self
fn from(value: MethodCall) -> Self
Converts to this type from the input type.
source§impl Hash for MethodCall
impl Hash for MethodCall
source§impl PartialEq for MethodCall
impl PartialEq for MethodCall
source§fn eq(&self, other: &MethodCall) -> bool
fn eq(&self, other: &MethodCall) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for MethodCall
impl StructuralEq for MethodCall
impl StructuralPartialEq for MethodCall
Auto Trait Implementations§
impl RefUnwindSafe for MethodCall
impl Send for MethodCall
impl Sync for MethodCall
impl Unpin for MethodCall
impl UnwindSafe for MethodCall
Blanket Implementations§
source§impl<E> Accessible for Ewhere
E: Into<Expr>,
impl<E> Accessible for Ewhere E: Into<Expr>,
source§impl<E> Assignable for Ewhere
E: Into<Expr>,
impl<E> Assignable for Ewhere E: Into<Expr>,
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