[][src]Trait shine_graph::traits::IndexExcl

pub trait IndexExcl<I> {
type Item;
    fn index(&mut self, idx: I) -> Self::Item;
}

Used for indexing operations. It is simmilar to Index and IndexMut but source is captured mutably allowing exclusive access to the indexed container.

Associated Types

type Item

Loading content...

Required methods

fn index(&mut self, idx: I) -> Self::Item

Loading content...

Implementations on Foreign Types

impl<I, A0, A1> IndexExcl<I> for (A0, A1) where
    I: Copy,
    A0: IndexExcl<I>,
    A1: IndexExcl<I>, 
[src]

Implement IndexExcl for tuple of IndexExcl The Item is a tuple of the Items made of the Items of the underlying InexExcl

type Item = (A0::Item, A1::Item)

impl<I, A0, A1, A2> IndexExcl<I> for (A0, A1, A2) where
    I: Copy,
    A0: IndexExcl<I>,
    A1: IndexExcl<I>,
    A2: IndexExcl<I>, 
[src]

Implement IndexExcl for tuple of IndexExcl The Item is a tuple of the Items made of the Items of the underlying InexExcl

type Item = (A0::Item, A1::Item, A2::Item)

impl<I, A0, A1, A2, A3> IndexExcl<I> for (A0, A1, A2, A3) where
    I: Copy,
    A0: IndexExcl<I>,
    A1: IndexExcl<I>,
    A2: IndexExcl<I>,
    A3: IndexExcl<I>, 
[src]

Implement IndexExcl for tuple of IndexExcl The Item is a tuple of the Items made of the Items of the underlying InexExcl

type Item = (A0::Item, A1::Item, A2::Item, A3::Item)

impl<I, A0, A1, A2, A3, A4> IndexExcl<I> for (A0, A1, A2, A3, A4) where
    I: Copy,
    A0: IndexExcl<I>,
    A1: IndexExcl<I>,
    A2: IndexExcl<I>,
    A3: IndexExcl<I>,
    A4: IndexExcl<I>, 
[src]

Implement IndexExcl for tuple of IndexExcl The Item is a tuple of the Items made of the Items of the underlying InexExcl

type Item = (A0::Item, A1::Item, A2::Item, A3::Item, A4::Item)

impl<I, A0, A1, A2, A3, A4, A5> IndexExcl<I> for (A0, A1, A2, A3, A4, A5) where
    I: Copy,
    A0: IndexExcl<I>,
    A1: IndexExcl<I>,
    A2: IndexExcl<I>,
    A3: IndexExcl<I>,
    A4: IndexExcl<I>,
    A5: IndexExcl<I>, 
[src]

Implement IndexExcl for tuple of IndexExcl The Item is a tuple of the Items made of the Items of the underlying InexExcl

type Item = (A0::Item, A1::Item, A2::Item, A3::Item, A4::Item, A5::Item)

impl<I, A0, A1, A2, A3, A4, A5, A6> IndexExcl<I> for (A0, A1, A2, A3, A4, A5, A6) where
    I: Copy,
    A0: IndexExcl<I>,
    A1: IndexExcl<I>,
    A2: IndexExcl<I>,
    A3: IndexExcl<I>,
    A4: IndexExcl<I>,
    A5: IndexExcl<I>,
    A6: IndexExcl<I>, 
[src]

Implement IndexExcl for tuple of IndexExcl The Item is a tuple of the Items made of the Items of the underlying InexExcl

type Item = (A0::Item, A1::Item, A2::Item, A3::Item, A4::Item, A5::Item, A6::Item)

impl<I, A0, A1, A2, A3, A4, A5, A6, A7> IndexExcl<I> for (A0, A1, A2, A3, A4, A5, A6, A7) where
    I: Copy,
    A0: IndexExcl<I>,
    A1: IndexExcl<I>,
    A2: IndexExcl<I>,
    A3: IndexExcl<I>,
    A4: IndexExcl<I>,
    A5: IndexExcl<I>,
    A6: IndexExcl<I>,
    A7: IndexExcl<I>, 
[src]

Implement IndexExcl for tuple of IndexExcl The Item is a tuple of the Items made of the Items of the underlying InexExcl

type Item = (A0::Item, A1::Item, A2::Item, A3::Item, A4::Item, A5::Item, A6::Item, A7::Item)

impl<I, A0, A1, A2, A3, A4, A5, A6, A7, A8> IndexExcl<I> for (A0, A1, A2, A3, A4, A5, A6, A7, A8) where
    I: Copy,
    A0: IndexExcl<I>,
    A1: IndexExcl<I>,
    A2: IndexExcl<I>,
    A3: IndexExcl<I>,
    A4: IndexExcl<I>,
    A5: IndexExcl<I>,
    A6: IndexExcl<I>,
    A7: IndexExcl<I>,
    A8: IndexExcl<I>, 
[src]

Implement IndexExcl for tuple of IndexExcl The Item is a tuple of the Items made of the Items of the underlying InexExcl

type Item = (A0::Item, A1::Item, A2::Item, A3::Item, A4::Item, A5::Item, A6::Item, A7::Item, A8::Item)

impl<I, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9> IndexExcl<I> for (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9) where
    I: Copy,
    A0: IndexExcl<I>,
    A1: IndexExcl<I>,
    A2: IndexExcl<I>,
    A3: IndexExcl<I>,
    A4: IndexExcl<I>,
    A5: IndexExcl<I>,
    A6: IndexExcl<I>,
    A7: IndexExcl<I>,
    A8: IndexExcl<I>,
    A9: IndexExcl<I>, 
[src]

Implement IndexExcl for tuple of IndexExcl The Item is a tuple of the Items made of the Items of the underlying InexExcl

type Item = (A0::Item, A1::Item, A2::Item, A3::Item, A4::Item, A5::Item, A6::Item, A7::Item, A8::Item, A9::Item)

Loading content...

Implementors

impl<'a, M, S> IndexExcl<usize> for RowRead<'a, M, S> where
    M: MatrixMask,
    S: Store
[src]

type Item = &'a S::Item

impl<'a, M, S> IndexExcl<usize> for RowUpdate<'a, M, S> where
    M: MatrixMask,
    S: StoreMut
[src]

type Item = &'a mut <S as Store>::Item

impl<'a, M, S> IndexExcl<usize> for RowWrite<'a, M, S> where
    M: MatrixMask,
    S: StoreMut
[src]

type Item = Entry<'a, M, S>

impl<'a, M, S> IndexExcl<usize> for WrapRowRead<'a, M, S> where
    M: MatrixMask,
    S: Store
[src]

type Item = RowRead<'a, M, S>

impl<'a, M, S> IndexExcl<usize> for WrapRowUpdate<'a, M, S> where
    M: MatrixMask,
    S: StoreMut
[src]

type Item = RowUpdate<'a, M, S>

impl<'a, M, S> IndexExcl<usize> for WrapRowWrite<'a, M, S> where
    M: MatrixMask,
    S: StoreMut
[src]

type Item = RowWrite<'a, M, S>

impl<'a, S> IndexExcl<usize> for WrapRead<'a, S> where
    S: Store
[src]

type Item = &'a S::Item

impl<'a, S> IndexExcl<usize> for WrapUpdate<'a, S> where
    S: StoreMut
[src]

type Item = &'a mut S::Item

impl<'a, S> IndexExcl<usize> for WrapWrite<'a, S> where
    S: StoreMut
[src]

type Item = Entry<'a, S>

Loading content...