Struct rs_graph::vec::IndexItemSliceMut [−][src]
pub struct IndexItemSliceMut<'a, 'b, G, T, Idx> where
G: 'a,
T: 'b, { /* fields omitted */ }A mutable borrowed slice indexed by items of a graph.
Methods
impl<'a, 'b, G, Idx, T> IndexItemSliceMut<'a, 'b, G, T, Idx> where
G: 'a,
Idx: NumItems<G>, [src]
impl<'a, 'b, G, Idx, T> IndexItemSliceMut<'a, 'b, G, T, Idx> where
G: 'a,
Idx: NumItems<G>, pub fn new(g: &'a G, data: &'b mut [T]) -> IndexItemSliceMut<'a, 'b, G, T, Idx>[src]
pub fn new(g: &'a G, data: &'b mut [T]) -> IndexItemSliceMut<'a, 'b, G, T, Idx>pub fn iter_mut(&mut self) -> IterMut<T>[src]
pub fn iter_mut(&mut self) -> IterMut<T>Return a mutable iterator over all elements.
Methods from Deref<Target = IndexItemSliceMut<'a, 'b, G, Idx, T>>
Trait Implementations
impl<'a, 'b, G, Idx, T> Debug for IndexItemSliceMut<'a, 'b, G, T, Idx> where
G: 'a,
T: 'b + Debug, [src]
impl<'a, 'b, G, Idx, T> Debug for IndexItemSliceMut<'a, 'b, G, T, Idx> where
G: 'a,
T: 'b + Debug, fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl<'a, 'b, G, Idx, T> Deref for IndexItemSliceMut<'a, 'b, G, T, Idx> where
G: 'a,
Idx: 'b, [src]
impl<'a, 'b, G, Idx, T> Deref for IndexItemSliceMut<'a, 'b, G, T, Idx> where
G: 'a,
Idx: 'b, type Target = IndexItemSliceMut<'a, 'b, G, Idx, T>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
fn deref(&self) -> &Self::TargetDereferences the value.
impl<'a, 'b, G, T, Idx, I> Index<I> for IndexItemSliceMut<'a, 'b, G, T, Idx> where
Idx: Indexer<G, I>, [src]
impl<'a, 'b, G, T, Idx, I> Index<I> for IndexItemSliceMut<'a, 'b, G, T, Idx> where
Idx: Indexer<G, I>, type Output = T
The returned type after indexing.
fn index(&self, u: I) -> &T[src]
fn index(&self, u: I) -> &TPerforms the indexing (container[index]) operation.
impl<'a, 'b, G, T, Idx, I> IndexMut<I> for IndexItemSliceMut<'a, 'b, G, T, Idx> where
Idx: Indexer<G, I>, [src]
impl<'a, 'b, G, T, Idx, I> IndexMut<I> for IndexItemSliceMut<'a, 'b, G, T, Idx> where
Idx: Indexer<G, I>, Auto Trait Implementations
impl<'a, 'b, G, T, Idx> Send for IndexItemSliceMut<'a, 'b, G, T, Idx> where
G: Sync,
Idx: Send,
T: Send,
impl<'a, 'b, G, T, Idx> Send for IndexItemSliceMut<'a, 'b, G, T, Idx> where
G: Sync,
Idx: Send,
T: Send, impl<'a, 'b, G, T, Idx> Sync for IndexItemSliceMut<'a, 'b, G, T, Idx> where
G: Sync,
Idx: Sync,
T: Sync,
impl<'a, 'b, G, T, Idx> Sync for IndexItemSliceMut<'a, 'b, G, T, Idx> where
G: Sync,
Idx: Sync,
T: Sync,