pub struct ProjectionId(/* private fields */);Expand description
A compiler-assigned stable projection identifier.
Implementations§
Source§impl ProjectionId
impl ProjectionId
Source§impl ProjectionId
impl ProjectionId
Sourcepub const fn checked_next(self) -> Option<Self>
pub const fn checked_next(self) -> Option<Self>
Returns the next value, or None when the allocation space is exhausted.
Trait Implementations§
Source§impl Clone for ProjectionId
impl Clone for ProjectionId
impl Copy for ProjectionId
Source§impl Debug for ProjectionId
impl Debug for ProjectionId
Source§impl Display for ProjectionId
impl Display for ProjectionId
impl Eq for ProjectionId
Source§impl From<ProjectionId> for u32
impl From<ProjectionId> for u32
Source§fn from(value: ProjectionId) -> Self
fn from(value: ProjectionId) -> Self
Converts to this type from the input type.
Source§impl Hash for ProjectionId
impl Hash for ProjectionId
Source§impl Ord for ProjectionId
impl Ord for ProjectionId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ProjectionId
impl PartialEq for ProjectionId
Source§impl PartialOrd for ProjectionId
impl PartialOrd for ProjectionId
impl StructuralPartialEq for ProjectionId
Auto Trait Implementations§
impl Freeze for ProjectionId
impl RefUnwindSafe for ProjectionId
impl Send for ProjectionId
impl Sync for ProjectionId
impl Unpin for ProjectionId
impl UnsafeUnpin for ProjectionId
impl UnwindSafe for ProjectionId
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