pub struct EntityId(/* private fields */);Expand description
Low clone cost identifier that provides a common identification feature within Nitinol.
It is a wrapper around Arc<str>.
If Display is implemented,
ToEntityId::to_entity_id and IntoEntityId::into_entity_id are automatically derived.
Implementations§
Trait Implementations§
impl Eq for EntityId
Auto Trait Implementations§
impl Freeze for EntityId
impl RefUnwindSafe for EntityId
impl Send for EntityId
impl Sync for EntityId
impl Unpin for EntityId
impl UnwindSafe for EntityId
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