[][src]Struct conniecs::entity::IndexedEntity

pub struct IndexedEntity<C> where
    C: ComponentManager
{ /* fields omitted */ }

Methods

impl<C> IndexedEntity<C> where
    C: ComponentManager
[src]

pub fn index(&self) -> usize[src]

Methods from Deref<Target = Entity>

Trait Implementations

impl<C: PartialEq> PartialEq<IndexedEntity<C>> for IndexedEntity<C> where
    C: ComponentManager
[src]

impl<C: PartialOrd> PartialOrd<IndexedEntity<C>> for IndexedEntity<C> where
    C: ComponentManager
[src]

impl<C: Eq> Eq for IndexedEntity<C> where
    C: ComponentManager
[src]

impl<C: Ord> Ord for IndexedEntity<C> where
    C: ComponentManager
[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl<C> Debug for IndexedEntity<C> where
    C: ComponentManager
[src]

impl<C: Hash> Hash for IndexedEntity<C> where
    C: ComponentManager
[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<C> Deref for IndexedEntity<C> where
    C: ComponentManager
[src]

type Target = Entity

The resulting type after dereferencing.

Auto Trait Implementations

impl<C> Send for IndexedEntity<C> where
    C: Send

impl<C> Sync for IndexedEntity<C> where
    C: Sync

Blanket Implementations

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

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.