Trait len_trait::index::IndexRangesMut [] [src]

pub trait IndexRangesMut<Idx>: IndexMut<Range<Idx>> + IndexMut<RangeTo<Idx>> + IndexMut<RangeFrom<Idx>> + IndexMut<RangeInclusive<Idx>> + IndexMut<RangeToInclusive<Idx>> + IndexMut<RangeFull> + IndexRanges<Idx> { }

Shorthand trait for collections which offer consistent, mutable slicing.

Here, "consistent" means that indexing is implemented for all of the Range types from the standard library, and the type returned by each of the slices is always the same.

Implementors