pub struct CaseId(pub u32);Expand description
Stable id of a single overload case within a function.
Tuple Fields§
§0: u32Trait Implementations§
impl Copy for CaseId
impl Eq for CaseId
Source§impl Ord for CaseId
impl Ord for CaseId
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 CaseId
impl PartialOrd for CaseId
impl StructuralPartialEq for CaseId
Auto Trait Implementations§
impl Freeze for CaseId
impl RefUnwindSafe for CaseId
impl Send for CaseId
impl Sync for CaseId
impl Unpin for CaseId
impl UnsafeUnpin for CaseId
impl UnwindSafe for CaseId
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