pub struct FunctionName {
pub parts: Vec<String>,
pub method: Option<String>,
pub span: Span,
}Expand description
Dotted function name with optional method receiver: a.b.c:method.
Fields§
§parts: Vec<String>§method: Option<String>Present when declared as a method (:).
span: SpanTrait Implementations§
Source§impl Clone for FunctionName
impl Clone for FunctionName
Source§fn clone(&self) -> FunctionName
fn clone(&self) -> FunctionName
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 moreAuto Trait Implementations§
impl Freeze for FunctionName
impl RefUnwindSafe for FunctionName
impl Send for FunctionName
impl Sync for FunctionName
impl Unpin for FunctionName
impl UnsafeUnpin for FunctionName
impl UnwindSafe for FunctionName
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