pub struct PatPath {
pub attrs: Vec<Attribute>,
pub qself: Option<QSelf>,
pub path: Path,
}Expand description
A path like std::mem::replace possibly containing generic
parameters and a qualified self-type.
A plain identifier like x is a path of length 1.
Fields§
§attrs: Vec<Attribute>§qself: Option<QSelf>§path: PathTrait Implementations§
Auto Trait Implementations§
impl Freeze for ExprPath
impl RefUnwindSafe for ExprPath
impl !Send for ExprPath
impl !Sync for ExprPath
impl Unpin for ExprPath
impl UnwindSafe for ExprPath
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