pub struct DefId {
pub index: DefIndex,
pub krate: CrateNum,
}
Expand description
Proxy for def_id::DefId
Fields§
§index: DefIndex
§krate: CrateNum
Implementations§
Source§impl<'de> DefId
impl<'de> DefId
pub fn deserialize<__D>(__deserializer: __D) -> Result<DefId, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Ord for DefId
impl Ord for DefId
Source§impl PartialOrd for DefId
impl PartialOrd for DefId
impl Copy for DefId
impl Eq for DefId
impl StructuralPartialEq for DefId
Auto Trait Implementations§
impl Freeze for DefId
impl RefUnwindSafe for DefId
impl Send for DefId
impl Sync for DefId
impl Unpin for DefId
impl UnwindSafe for DefId
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