pub struct HirBodyId(pub u32);Expand description
Stable index into the workspace body registry (one per body owner).
Currently unused at runtime — reserved so that cross-body references can be introduced later without changing existing index types.
Tuple Fields§
§0: u32Trait Implementations§
impl Copy for HirBodyId
impl Eq for HirBodyId
Source§impl Ord for HirBodyId
impl Ord for HirBodyId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for HirBodyId
impl PartialOrd for HirBodyId
impl StructuralPartialEq for HirBodyId
Auto Trait Implementations§
impl Freeze for HirBodyId
impl RefUnwindSafe for HirBodyId
impl Send for HirBodyId
impl Sync for HirBodyId
impl Unpin for HirBodyId
impl UnsafeUnpin for HirBodyId
impl UnwindSafe for HirBodyId
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