pub struct EntityTypeId(/* private fields */);Expand description
A compiler-assigned stable entity type identifier.
Implementations§
Source§impl EntityTypeId
impl EntityTypeId
Source§impl EntityTypeId
impl EntityTypeId
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 EntityTypeId
impl Clone for EntityTypeId
impl Copy for EntityTypeId
Source§impl Debug for EntityTypeId
impl Debug for EntityTypeId
Source§impl Display for EntityTypeId
impl Display for EntityTypeId
impl Eq for EntityTypeId
Source§impl From<EntityTypeId> for u32
impl From<EntityTypeId> for u32
Source§fn from(value: EntityTypeId) -> Self
fn from(value: EntityTypeId) -> Self
Converts to this type from the input type.
Source§impl Hash for EntityTypeId
impl Hash for EntityTypeId
Source§impl Ord for EntityTypeId
impl Ord for EntityTypeId
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 EntityTypeId
impl PartialEq for EntityTypeId
Source§impl PartialOrd for EntityTypeId
impl PartialOrd for EntityTypeId
impl StructuralPartialEq for EntityTypeId
Auto Trait Implementations§
impl Freeze for EntityTypeId
impl RefUnwindSafe for EntityTypeId
impl Send for EntityTypeId
impl Sync for EntityTypeId
impl Unpin for EntityTypeId
impl UnsafeUnpin for EntityTypeId
impl UnwindSafe for EntityTypeId
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