[−][src]Struct shine_stdext::namedstore::Index
Reference counted index to access stored items in O(1). Eventough index has a (mutable) reference to the data, to aquire it, a properly locked store is required. The referenced data is private implementation detail that shall never be exposed to the client. It is used only as an index and acessing the referenced data is not safe as other thread may update it.
Trait Implementations
impl<D: Data> Drop for Index<D>
[src]
impl<D: Data> PartialEq<Index<D>> for Index<D>
[src]
fn eq(&self, e: &Self) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl<D: Data> Sync for Index<D>
[src]
impl<D: Data> Clone for Index<D>
[src]
fn clone(&self) -> Index<D>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<D: Data> Send for Index<D>
[src]
impl<D: Data> Debug for Index<D>
[src]
impl<'a, 'i, D: 'a + Data> Index<&'i Index<D>> for ReadGuard<'a, D>
[src]
type Output = D
The returned type after indexing.
fn index(&self, index: &Index<D>) -> &Self::Output
[src]
impl<'a, 'i, D: 'a + Data> Index<&'i Index<D>> for WriteGuard<'a, D>
[src]
type Output = D
The returned type after indexing.
fn index(&self, index: &Index<D>) -> &Self::Output
[src]
impl<'a, 'i, D: 'a + Data> IndexMut<&'i Index<D>> for WriteGuard<'a, D>
[src]
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,