pub struct DefIndex {
private_use_as_methods_instead: u32,
}
Expand description
A DefIndex is an index into the hir-map for a crate, identifying a particular definition. It should really be considered an interned shorthand for a particular DefPath.
Fields§
§private_use_as_methods_instead: u32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DefIndex
impl RefUnwindSafe for DefIndex
impl Send for DefIndex
impl Sync for DefIndex
impl Unpin for DefIndex
impl UnwindSafe for DefIndex
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