Struct legion::storage::ArchetypeIndex[][src]

#[repr(transparent)]pub struct ArchetypeIndex(pub u32);

The index of an archetype in a world.

Trait Implementations

impl Clone for ArchetypeIndex[src]

impl Copy for ArchetypeIndex[src]

impl Debug for ArchetypeIndex[src]

impl<'de> Deserialize<'de> for ArchetypeIndex[src]

impl Eq for ArchetypeIndex[src]

impl Hash for ArchetypeIndex[src]

impl Index<ArchetypeIndex> for [Archetype][src]

type Output = Archetype

The returned type after indexing.

impl IndexMut<ArchetypeIndex> for [Archetype][src]

impl PartialEq<ArchetypeIndex> for ArchetypeIndex[src]

impl Serialize for ArchetypeIndex[src]

impl StructuralEq for ArchetypeIndex[src]

impl StructuralPartialEq for ArchetypeIndex[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Serialize for T where
    T: Serialize + ?Sized
[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.