Struct rin::ecs::storage::oneton_densevec::_DenseOneToNVec [−][src]
pub struct _DenseOneToNVec<T, G> { /* fields omitted */ }
Trait Implementations
impl<'a, T, G> OneToNStorage<'a, T> for _DenseOneToNVec<T, G> where
T: 'a,
G: 'a + GroupExt,
[src]
impl<'a, T, G> OneToNStorage<'a, T> for _DenseOneToNVec<T, G> where
T: 'a,
G: 'a + GroupExt,
[src]pub fn insert_slice<I>(&mut self, guid: usize, t: I) where
I: IntoIterator<Item = T>,
[src]
I: IntoIterator<Item = T>,
pub unsafe fn get_slice(&self, guid: usize) -> SliceView<'_, T>
[src]
pub unsafe fn get_slice_mut(&mut self, guid: usize) -> SliceViewMut<'_, T>
[src]
impl<'a, T, G> Storage<'a, T> for _DenseOneToNVec<T, G> where
T: 'a,
G: 'a + GroupExt,
[src]
impl<'a, T, G> Storage<'a, T> for _DenseOneToNVec<T, G> where
T: 'a,
G: 'a + GroupExt,
[src]type Get = SliceView<'a, T>
type GetMut = SliceViewMut<'a, T>
type DerefTarget = [T]
type IdedIter = IdedIter<'a, T, G>
type Iter = Iter<'a, T, G>
type IterMut = IterMut<'a, T, G>
pub fn new() -> _DenseOneToNVec<T, G>
[src]
pub fn with_capacity(capacity: usize) -> _DenseOneToNVec<T, G>
[src]
pub fn insert(&mut self, guid: usize, t: T)
[src]
pub fn remove(&mut self, guid: usize)
[src]
pub unsafe fn get(&self, guid: usize) -> SliceView<'a, T>
[src]
pub unsafe fn get_mut(&mut self, guid: usize) -> SliceViewMut<'a, T>
[src]
pub unsafe fn fast_get(&self, guid: usize) -> SliceView<'a, T>
[src]
pub unsafe fn fast_get_mut(&mut self, guid: usize) -> SliceViewMut<'a, T>
[src]
pub fn fast_index(&self, guid: usize) -> usize
[src]
pub fn guid_from_fast_index(&self, idx: usize) -> usize
[src]
pub fn contains(&self, guid: usize) -> bool
[src]
pub fn iter(&self) -> <_DenseOneToNVec<T, G> as Storage<'a, T>>::Iter
[src]
pub fn iter_mut(&mut self) -> <_DenseOneToNVec<T, G> as Storage<'a, T>>::IterMut
[src]
pub fn ided_iter(&self) -> <_DenseOneToNVec<T, G> as Storage<'a, T>>::IdedIter
[src]
pub fn update(&mut self)
[src]
pub fn tracks_changes() -> bool
[src]
pub fn storage_changed(&self) -> bool
[src]
Auto Trait Implementations
impl<T, G> RefUnwindSafe for _DenseOneToNVec<T, G> where
G: RefUnwindSafe,
T: RefUnwindSafe,
G: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, G> Send for _DenseOneToNVec<T, G> where
G: Send,
T: Send,
G: Send,
T: Send,
impl<T, G> Sync for _DenseOneToNVec<T, G> where
G: Sync,
T: Sync,
G: Sync,
T: Sync,
impl<T, G> Unpin for _DenseOneToNVec<T, G> where
G: Unpin,
T: Unpin,
G: Unpin,
T: Unpin,
impl<T, G> UnwindSafe for _DenseOneToNVec<T, G> where
G: UnwindSafe,
T: UnwindSafe,
G: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]