pub struct SubstId(pub u32);Expand description
A universe substitution — a constant’s level parameters replaced by the levels of one use of it — interned, so that a value can carry it as one id.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Ord for SubstId
impl Ord for SubstId
Source§impl PartialOrd for SubstId
impl PartialOrd for SubstId
impl Copy for SubstId
impl Eq for SubstId
impl StructuralPartialEq for SubstId
Auto Trait Implementations§
impl Freeze for SubstId
impl RefUnwindSafe for SubstId
impl Send for SubstId
impl Sync for SubstId
impl Unpin for SubstId
impl UnsafeUnpin for SubstId
impl UnwindSafe for SubstId
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