[][src]Struct mecs::world::entity_id::EntityId

pub struct EntityId(_);

An entity's ID

Methods

impl EntityId[src]

#[must_use] pub const fn null() -> Self[src]

Returns a null entity id

#[must_use] pub const fn is_null(self) -> bool[src]

Checks if this id is null

Trait Implementations

impl Clone for EntityId[src]

impl Copy for EntityId[src]

impl Debug for EntityId[src]

impl Eq for EntityId[src]

impl Hash for EntityId[src]

impl PartialEq<EntityId> for EntityId[src]

impl StructuralEq for EntityId[src]

impl StructuralPartialEq for EntityId[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Component<'static, DynStorage> for T where
    T: Debug + 'static, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.