pub struct UsePath {
pub ident: Ident,
pub colon2_token: PathSep,
pub tree: Box<UseTree>,
}Expand description
A path prefix of imports in a use item: std::....
Fields§
§ident: Ident§colon2_token: PathSep§tree: Box<UseTree>Trait Implementations§
Auto Trait Implementations§
impl Freeze for UsePath
impl RefUnwindSafe for UsePath
impl !Send for UsePath
impl !Sync for UsePath
impl Unpin for UsePath
impl UnwindSafe for UsePath
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