Trait columnar::common::index::IndexMut

source ·
pub trait IndexMut {
    type IndexMut<'a>
       where Self: 'a;

    // Required method
    fn get_mut(&mut self, index: usize) -> Self::IndexMut<'_>;

    // Provided method
    fn last_mut(&mut self) -> Option<Self::IndexMut<'_>>
       where Self: Len { ... }
}
Expand description

A type that can be mutably accessed by usize.

Required Associated Types§

source

type IndexMut<'a> where Self: 'a

Type mutably referencing an indexed element.

Required Methods§

source

fn get_mut(&mut self, index: usize) -> Self::IndexMut<'_>

Provided Methods§

source

fn last_mut(&mut self) -> Option<Self::IndexMut<'_>>
where Self: Len,

A reference to the last element, should one exist.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'t, T: IndexMut + ?Sized> IndexMut for &'t mut T

§

type IndexMut<'a> = <T as IndexMut>::IndexMut<'a> where Self: 'a

source§

fn get_mut(&mut self, index: usize) -> Self::IndexMut<'_>

source§

impl<A: IndexMut> IndexMut for (A,)

§

type IndexMut<'a> = (<A as IndexMut>::IndexMut<'a>,) where A: 'a

source§

fn get_mut(&mut self, index: usize) -> Self::IndexMut<'_>

source§

impl<A: IndexMut, B: IndexMut> IndexMut for (A, B)

§

type IndexMut<'a> = (<A as IndexMut>::IndexMut<'a>, <B as IndexMut>::IndexMut<'a>) where A: 'a, B: 'a

source§

fn get_mut(&mut self, index: usize) -> Self::IndexMut<'_>

source§

impl<A: IndexMut, B: IndexMut, C: IndexMut> IndexMut for (A, B, C)

§

type IndexMut<'a> = (<A as IndexMut>::IndexMut<'a>, <B as IndexMut>::IndexMut<'a>, <C as IndexMut>::IndexMut<'a>) where A: 'a, B: 'a, C: 'a

source§

fn get_mut(&mut self, index: usize) -> Self::IndexMut<'_>

source§

impl<A: IndexMut, B: IndexMut, C: IndexMut, D: IndexMut> IndexMut for (A, B, C, D)

§

type IndexMut<'a> = (<A as IndexMut>::IndexMut<'a>, <B as IndexMut>::IndexMut<'a>, <C as IndexMut>::IndexMut<'a>, <D as IndexMut>::IndexMut<'a>) where A: 'a, B: 'a, C: 'a, D: 'a

source§

fn get_mut(&mut self, index: usize) -> Self::IndexMut<'_>

source§

impl<A: IndexMut, B: IndexMut, C: IndexMut, D: IndexMut, E: IndexMut> IndexMut for (A, B, C, D, E)

§

type IndexMut<'a> = (<A as IndexMut>::IndexMut<'a>, <B as IndexMut>::IndexMut<'a>, <C as IndexMut>::IndexMut<'a>, <D as IndexMut>::IndexMut<'a>, <E as IndexMut>::IndexMut<'a>) where A: 'a, B: 'a, C: 'a, D: 'a, E: 'a

source§

fn get_mut(&mut self, index: usize) -> Self::IndexMut<'_>

source§

impl<A: IndexMut, B: IndexMut, C: IndexMut, D: IndexMut, E: IndexMut, F: IndexMut> IndexMut for (A, B, C, D, E, F)

§

type IndexMut<'a> = (<A as IndexMut>::IndexMut<'a>, <B as IndexMut>::IndexMut<'a>, <C as IndexMut>::IndexMut<'a>, <D as IndexMut>::IndexMut<'a>, <E as IndexMut>::IndexMut<'a>, <F as IndexMut>::IndexMut<'a>) where A: 'a, B: 'a, C: 'a, D: 'a, E: 'a, F: 'a

source§

fn get_mut(&mut self, index: usize) -> Self::IndexMut<'_>

source§

impl<A: IndexMut, B: IndexMut, C: IndexMut, D: IndexMut, E: IndexMut, F: IndexMut, G: IndexMut> IndexMut for (A, B, C, D, E, F, G)

§

type IndexMut<'a> = (<A as IndexMut>::IndexMut<'a>, <B as IndexMut>::IndexMut<'a>, <C as IndexMut>::IndexMut<'a>, <D as IndexMut>::IndexMut<'a>, <E as IndexMut>::IndexMut<'a>, <F as IndexMut>::IndexMut<'a>, <G as IndexMut>::IndexMut<'a>) where A: 'a, B: 'a, C: 'a, D: 'a, E: 'a, F: 'a, G: 'a

source§

fn get_mut(&mut self, index: usize) -> Self::IndexMut<'_>

source§

impl<A: IndexMut, B: IndexMut, C: IndexMut, D: IndexMut, E: IndexMut, F: IndexMut, G: IndexMut, H: IndexMut> IndexMut for (A, B, C, D, E, F, G, H)

§

type IndexMut<'a> = (<A as IndexMut>::IndexMut<'a>, <B as IndexMut>::IndexMut<'a>, <C as IndexMut>::IndexMut<'a>, <D as IndexMut>::IndexMut<'a>, <E as IndexMut>::IndexMut<'a>, <F as IndexMut>::IndexMut<'a>, <G as IndexMut>::IndexMut<'a>, <H as IndexMut>::IndexMut<'a>) where A: 'a, B: 'a, C: 'a, D: 'a, E: 'a, F: 'a, G: 'a, H: 'a

source§

fn get_mut(&mut self, index: usize) -> Self::IndexMut<'_>

source§

impl<A: IndexMut, B: IndexMut, C: IndexMut, D: IndexMut, E: IndexMut, F: IndexMut, G: IndexMut, H: IndexMut, I: IndexMut> IndexMut for (A, B, C, D, E, F, G, H, I)

§

type IndexMut<'a> = (<A as IndexMut>::IndexMut<'a>, <B as IndexMut>::IndexMut<'a>, <C as IndexMut>::IndexMut<'a>, <D as IndexMut>::IndexMut<'a>, <E as IndexMut>::IndexMut<'a>, <F as IndexMut>::IndexMut<'a>, <G as IndexMut>::IndexMut<'a>, <H as IndexMut>::IndexMut<'a>, <I as IndexMut>::IndexMut<'a>) where A: 'a, B: 'a, C: 'a, D: 'a, E: 'a, F: 'a, G: 'a, H: 'a, I: 'a

source§

fn get_mut(&mut self, index: usize) -> Self::IndexMut<'_>

source§

impl<A: IndexMut, B: IndexMut, C: IndexMut, D: IndexMut, E: IndexMut, F: IndexMut, G: IndexMut, H: IndexMut, I: IndexMut, J: IndexMut> IndexMut for (A, B, C, D, E, F, G, H, I, J)

§

type IndexMut<'a> = (<A as IndexMut>::IndexMut<'a>, <B as IndexMut>::IndexMut<'a>, <C as IndexMut>::IndexMut<'a>, <D as IndexMut>::IndexMut<'a>, <E as IndexMut>::IndexMut<'a>, <F as IndexMut>::IndexMut<'a>, <G as IndexMut>::IndexMut<'a>, <H as IndexMut>::IndexMut<'a>, <I as IndexMut>::IndexMut<'a>, <J as IndexMut>::IndexMut<'a>) where A: 'a, B: 'a, C: 'a, D: 'a, E: 'a, F: 'a, G: 'a, H: 'a, I: 'a, J: 'a

source§

fn get_mut(&mut self, index: usize) -> Self::IndexMut<'_>

source§

impl<T> IndexMut for [T]

§

type IndexMut<'a> = &'a mut T where Self: 'a

source§

fn get_mut(&mut self, index: usize) -> Self::IndexMut<'_>

source§

impl<T> IndexMut for Vec<T>

§

type IndexMut<'a> = &'a mut T where Self: 'a

source§

fn get_mut(&mut self, index: usize) -> Self::IndexMut<'_>

Implementors§

source§

impl IndexMut for Isizes

§

type IndexMut<'a> = &'a mut i64

source§

impl IndexMut for Usizes

§

type IndexMut<'a> = &'a mut u64

source§

impl<CC> IndexMut for Empties<CC>

§

type IndexMut<'a> = &'a mut () where CC: 'a

source§

impl<S: IndexMut> IndexMut for Slice<S>

§

type IndexMut<'a> = <S as IndexMut>::IndexMut<'a> where S: 'a

source§

impl<SC: IndexMut, TC: IndexMut, CC: IndexAs<u64> + Len, VC: IndexAs<u64> + Len> IndexMut for Results<SC, TC, CC, VC>

§

type IndexMut<'a> = Result<<SC as IndexMut>::IndexMut<'a>, <TC as IndexMut>::IndexMut<'a>> where SC: 'a, TC: 'a, CC: 'a, VC: 'a

source§

impl<TC, BC: Len + IndexAs<u64>> IndexMut for Vecs<TC, BC>

§

type IndexMut<'a> = Slice<&'a mut TC> where TC: 'a, BC: 'a

source§

impl<TC: IndexMut, CC: IndexAs<u64> + Len, VC: IndexAs<u64> + Len> IndexMut for Options<TC, CC, VC>

§

type IndexMut<'a> = Option<<TC as IndexMut>::IndexMut<'a>> where TC: 'a, CC: 'a, VC: 'a