[][src]Struct bevy_hecs::ArchetypeComponent

pub struct ArchetypeComponent {
    pub archetype_index: u32,
    pub component: TypeId,
}

Fields

archetype_index: u32component: TypeId

Implementations

impl ArchetypeComponent[src]

pub fn new<T: 'static>(archetype_index: u32) -> Self[src]

pub fn new_ty(archetype_index: u32, component: TypeId) -> Self[src]

Trait Implementations

impl Clone for ArchetypeComponent[src]

impl Copy for ArchetypeComponent[src]

impl Debug for ArchetypeComponent[src]

impl Eq for ArchetypeComponent[src]

impl Hash for ArchetypeComponent[src]

impl PartialEq<ArchetypeComponent> for ArchetypeComponent[src]

impl StructuralEq for ArchetypeComponent[src]

impl StructuralPartialEq for ArchetypeComponent[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> CallHasher for T where
    T: Hash

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.