pub struct MethodRefExpr {
pub target: MethodRefTarget,
pub colon_colon_span: Span,
pub type_args: Option<TypeArguments>,
pub method_name: Ident,
}Expand description
Method reference expression: String::valueOf.
Fields§
§target: MethodRefTarget§colon_colon_span: Span§type_args: Option<TypeArguments>§method_name: IdentImplementations§
Trait Implementations§
Source§impl Clone for MethodRefExpr
impl Clone for MethodRefExpr
Source§fn clone(&self) -> MethodRefExpr
fn clone(&self) -> MethodRefExpr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MethodRefExpr
impl Debug for MethodRefExpr
Source§impl Hash for MethodRefExpr
impl Hash for MethodRefExpr
Source§impl PartialEq for MethodRefExpr
impl PartialEq for MethodRefExpr
Source§fn eq(&self, other: &MethodRefExpr) -> bool
fn eq(&self, other: &MethodRefExpr) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MethodRefExpr
impl StructuralPartialEq for MethodRefExpr
Auto Trait Implementations§
impl Freeze for MethodRefExpr
impl RefUnwindSafe for MethodRefExpr
impl Send for MethodRefExpr
impl Sync for MethodRefExpr
impl Unpin for MethodRefExpr
impl UnsafeUnpin for MethodRefExpr
impl UnwindSafe for MethodRefExpr
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