Struct bevy_ecs::storage::Tables[][src]

pub struct Tables { /* fields omitted */ }

Implementations

impl Tables[src]

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

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

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

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

pub unsafe fn get_id_or_insert(
    &mut self,
    component_ids: &[ComponentId],
    components: &Components
) -> TableId
[src]

Safety

component_ids must contain components that exist in components

pub fn iter(&self) -> Iter<'_, Table>[src]

Trait Implementations

impl Default for Tables[src]

impl Index<TableId> for Tables[src]

type Output = Table

The returned type after indexing.

impl IndexMut<TableId> for Tables[src]

Auto Trait Implementations

impl !RefUnwindSafe for Tables

impl !Send for Tables

impl !Sync for Tables

impl Unpin for Tables

impl UnwindSafe for Tables

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>,