Trait rin::ecs::OneToNStorage[][src]

pub trait OneToNStorage<'a, T>: Storage<'a, T> {
    pub fn insert_slice<I>(&mut self, guid: usize, t: I)
    where
        I: IntoIterator<Item = T>
;
pub unsafe fn get_slice(&self, guid: usize) -> SliceView<'_, T>;
pub unsafe fn get_slice_mut(&mut self, guid: usize) -> SliceViewMut<'_, T>; }

Required methods

pub fn insert_slice<I>(&mut self, guid: usize, t: I) where
    I: IntoIterator<Item = T>, 
[src]

pub unsafe fn get_slice(&self, guid: usize) -> SliceView<'_, T>[src]

pub unsafe fn get_slice_mut(&mut self, guid: usize) -> SliceViewMut<'_, T>[src]

Loading content...

Implementors

impl<'a, S, T> OneToNStorage<'a, T> for AutoChanged<S, T> where
    T: 'a + Component,
    S: OneToNStorage<'a, T>,
    <S as Storage<'a, T>>::GetMut: Changes
[src]

impl<'a, S, T> OneToNStorage<'a, T> for Changed<S, T> where
    T: 'a,
    S: OneToNStorage<'a, T>, 
[src]

impl<'a, T, G> OneToNStorage<'a, T> for _DenseOneToNVec<T, G> where
    T: 'a,
    G: 'a + GroupExt
[src]

Loading content...