pub struct KindId(/* private fields */);Expand description
Index of a kind in its Metamodel; one byte in the entity row, so a
model holds at most 256 kinds.
Implementations§
Trait Implementations§
impl Copy for KindId
impl Eq for KindId
Source§impl From<EntityKind> for KindId
impl From<EntityKind> for KindId
Source§fn from(archetype: EntityKind) -> Self
fn from(archetype: EntityKind) -> Self
Converts to this type from the input type.
Source§impl Ord for KindId
impl Ord for KindId
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 PartialOrd for KindId
impl PartialOrd for KindId
impl StructuralPartialEq for KindId
Auto Trait Implementations§
impl Forget for KindId
impl Freeze for KindId
impl Move for KindId
impl RefUnwindSafe for KindId
impl Send for KindId
impl Sync for KindId
impl Unpin for KindId
impl UnsafeUnpin for KindId
impl UnwindSafe for KindId
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