Struct bevy_ecs::archetype::Archetypes[][src]

pub struct Archetypes { /* fields omitted */ }

Implementations

impl Archetypes[src]

pub fn generation(&self) -> ArchetypeGeneration[src]

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

pub fn empty(&self) -> &Archetype[src]

pub fn empty_mut(&mut self) -> &mut Archetype[src]

pub fn resource(&self) -> &Archetype[src]

pub fn resource_mut(&mut self) -> &mut Archetype[src]

pub fn is_empty(&self) -> bool[src]

pub fn get(&self, id: ArchetypeId) -> Option<&Archetype>[src]

pub fn get_mut(&mut self, id: ArchetypeId) -> Option<&mut Archetype>[src]

pub fn iter(&self) -> impl Iterator<Item = &Archetype>[src]

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

Trait Implementations

impl Default for Archetypes[src]

impl Index<ArchetypeId> for Archetypes[src]

type Output = Archetype

The returned type after indexing.

impl IndexMut<ArchetypeId> for Archetypes[src]

impl<'a> SystemParam for &'a Archetypes[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> Downcast for T where
    T: Any
[src]

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

impl<T> FromWorld for T where
    T: Default
[src]

impl<T> Instrument for T[src]

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

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,