Struct rinecs::storage::VecStorage [−][src]
pub struct VecStorage<T> { /* fields omitted */ }
Trait Implementations
impl<T> Drop for VecStorage<T>
[src]
impl<T> Drop for VecStorage<T>
[src]impl<'a, T: 'a> Storage<'a, T> for VecStorage<T>
[src]
impl<'a, T: 'a> Storage<'a, T> for VecStorage<T>
[src]type Get = &'a T
type GetMut = &'a mut T
type DerefTarget = T
type IdedIter = RawIdedIter<'a, T>
type Iter = RawIter<'a, T>
type IterMut = RawIterMut<'a, T>
fn new() -> VecStorage<T>
[src]
fn with_capacity(capacity: usize) -> VecStorage<T>
[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) -> &'a mut T
[src]
unsafe fn fast_get(&self, guid: usize) -> &'a T
[src]
unsafe fn fast_get_mut(&mut self, guid: usize) -> &'a mut T
[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) -> Self::IdedIter
[src]
fn iter(&self) -> Self::Iter
[src]
fn iter_mut(&mut self) -> Self::IterMut
[src]
fn update(&mut self)
[src]
fn tracks_changes() -> bool
[src]
fn storage_changed(&self) -> bool
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for VecStorage<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for VecStorage<T> where
T: Send,
T: Send,
impl<T> Sync for VecStorage<T> where
T: Sync,
T: Sync,
impl<T> Unpin for VecStorage<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for VecStorage<T> where
T: UnwindSafe,
T: UnwindSafe,