pub trait IndexMutRaw<Idx>: IndexRaw<Idx> {
    fn index_mut_raw(this: Mut<'_, Self>, index: Idx) -> Mut<'_, Self::Output>;
    unsafe fn index_mut_raw_unchecked(
        this: Mut<'_, Self>,
        index: Idx
    ) -> Mut<'_, Self::Output>; }
Expand description

A variant of IndexMut that works with raw references.

Required Methods

Performs the mutable indexing (container[index]) operation.

Panics

May panic if the index is out of bounds.

Performs the mutable indexing (container[index]) operation without performing bounds checking

Safety

index must be in bounds for this.

Implementations on Foreign Types

Implementors