pub struct PathDef {
pub ident: Ident,
pub id: HirId,
}Fields§
§ident: Ident§id: HirIdImplementations§
Trait Implementations§
Source§impl<'hir> HirNode<'hir> for PathDef
impl<'hir> HirNode<'hir> for PathDef
fn get_hir_id(&self) -> HirId
fn set_hir_id(&mut self, id: HirId)
fn get_hir_node_kind(&'hir self) -> HirNodeKind<'hir>
impl Copy for PathDef
Auto Trait Implementations§
impl Freeze for PathDef
impl RefUnwindSafe for PathDef
impl Send for PathDef
impl Sync for PathDef
impl Unpin for PathDef
impl UnwindSafe for PathDef
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