Struct rinecs::storage::unique_densevec::UniqueDenseVec [−][src]
pub struct UniqueDenseVec<T> { /* fields omitted */ }
Trait Implementations
impl<'a, T: 'a> Storage<'a, T> for UniqueDenseVec<T> where
T: Hash,
[src]
impl<'a, T: 'a> Storage<'a, T> for UniqueDenseVec<T> where
T: Hash,
[src]type Get = &'a T
type GetMut = RefMut<'a, T>
type DerefTarget = T
type IdedIter = Iter<'a, usize, T>
type Iter = Values<'a, T>
type IterMut = UniqueIterMut<'a, T>
fn new() -> UniqueDenseVec<T>
[src]
fn with_capacity(capacity: usize) -> Self
[src]
fn insert(&mut self, guid: usize, t: T)
[src]
fn remove(&mut self, guid: usize)
[src]
unsafe fn get(&self, guid: usize) -> &'a T
[src]
unsafe fn get_mut(&mut self, guid: usize) -> Self::GetMut
[src]
unsafe fn fast_get(&self, idx: usize) -> Self::Get
[src]
unsafe fn fast_get_mut(&mut self, idx: usize) -> Self::GetMut
[src]
fn fast_index(&self, guid: usize) -> usize
[src]
fn guid_from_fast_index(&self, idx: usize) -> usize
[src]
fn contains(&self, guid: usize) -> bool
[src]
fn ided_iter(&self) -> Iter<'a, usize, T>
[src]
fn iter(&self) -> Values<'a, T>
[src]
fn iter_mut(&mut self) -> UniqueIterMut<'a, T>ⓘNotable traits for UniqueIterMut<'a, T>
impl<'a, T: 'a> Iterator for UniqueIterMut<'a, T> type Item = RefMut<'a, T>;
[src]
Notable traits for UniqueIterMut<'a, T>
impl<'a, T: 'a> Iterator for UniqueIterMut<'a, T> type Item = RefMut<'a, T>;
fn update(&mut self)
[src]
fn tracks_changes() -> bool
[src]
fn storage_changed(&self) -> bool
[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for UniqueDenseVec<T>
impl<T> Send for UniqueDenseVec<T> where
T: Send,
T: Send,
impl<T> Sync for UniqueDenseVec<T> where
T: Sync,
T: Sync,
impl<T> Unpin for UniqueDenseVec<T> where
T: Unpin,
T: Unpin,