Trait rinecs::storage::OneToNStorage [−][src]
pub trait OneToNStorage<'a, T>: Storage<'a, T> { fn insert_slice<I: IntoIterator<Item = T>>(&mut self, guid: usize, t: I); unsafe fn get_slice(&self, guid: usize) -> SliceView<'_, T>; unsafe fn get_slice_mut(&mut self, guid: usize) -> SliceViewMut<'_, T>; }
Required methods
fn insert_slice<I: IntoIterator<Item = T>>(&mut self, guid: usize, t: I)
[src]
unsafe fn get_slice(&self, guid: usize) -> SliceView<'_, T>
[src]
unsafe fn get_slice_mut(&mut self, guid: usize) -> SliceViewMut<'_, T>
[src]
Implementors
impl<'a, S, T> OneToNStorage<'a, T> for AutoChanged<S, T> where
S: OneToNStorage<'a, T>,
<S as Storage<'a, T>>::GetMut: Changes,
T: 'a + Component,
[src]
impl<'a, S, T> OneToNStorage<'a, T> for AutoChanged<S, T> where
S: OneToNStorage<'a, T>,
<S as Storage<'a, T>>::GetMut: Changes,
T: 'a + Component,
[src]fn insert_slice<I: IntoIterator<Item = T>>(&mut self, guid: usize, t: I)
[src]
unsafe fn get_slice(&self, guid: usize) -> SliceView<'_, T>
[src]
unsafe fn get_slice_mut(&mut self, guid: usize) -> SliceViewMut<'_, T>
[src]
impl<'a, S, T> OneToNStorage<'a, T> for Changed<S, T> where
S: OneToNStorage<'a, T>,
T: 'a,
[src]
impl<'a, S, T> OneToNStorage<'a, T> for Changed<S, T> where
S: OneToNStorage<'a, T>,
T: 'a,
[src]fn insert_slice<I: IntoIterator<Item = T>>(&mut self, guid: usize, t: I)
[src]
unsafe fn get_slice(&self, guid: usize) -> SliceView<'_, T>
[src]
unsafe fn get_slice_mut(&mut self, guid: usize) -> SliceViewMut<'_, T>
[src]
impl<'a, T: 'a, G: GroupExt + 'a> OneToNStorage<'a, T> for _DenseOneToNVec<T, G>
[src]
impl<'a, T: 'a, G: GroupExt + 'a> OneToNStorage<'a, T> for _DenseOneToNVec<T, G>
[src]