Struct const_identify::ConstId
source · 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 PartialEq for ConstId
impl PartialEq for ConstId
source§impl PartialOrd for ConstId
impl PartialOrd for ConstId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for ConstId
impl Eq for ConstId
impl StructuralEq for ConstId
impl StructuralPartialEq for ConstId
Auto Trait Implementations§
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