pub struct ConstId { /* private fields */ }Expand description
A unique identifier that can be created used in const contexts.
Implementations§
Trait Implementations§
Source§impl Ord for ConstId
impl Ord for ConstId
Source§impl PartialOrd for ConstId
impl PartialOrd for ConstId
impl Copy for ConstId
impl Eq for ConstId
impl StructuralPartialEq for ConstId
Auto Trait Implementations§
impl Freeze for ConstId
impl RefUnwindSafe for ConstId
impl Send for ConstId
impl Sync for ConstId
impl Unpin for ConstId
impl UnwindSafe for ConstId
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