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