pub trait IndexableMut: Indexable {
// Required method
fn index_mut(&mut self, n: usize) -> Option<&mut Self::Output>;
}Expand description
A trait for vectored buffers that could be mutably indexed.
Required Methods§
Implementations on Foreign Types§
Source§impl<T, A: Allocator + 'static> IndexableMut for Vec<T, A>
impl<T, A: Allocator + 'static> IndexableMut for Vec<T, A>
Source§impl<T, const N: usize> IndexableMut for [T; N]
impl<T, const N: usize> IndexableMut for [T; N]
Source§impl<T, const N: usize> IndexableMut for ArrayVec<T, N>
Available on crate feature arrayvec only.
impl<T, const N: usize> IndexableMut for ArrayVec<T, N>
Available on crate feature
arrayvec only.Source§impl<T, const N: usize> IndexableMut for SmallVec<[T; N]>
Available on crate feature smallvec only.
impl<T, const N: usize> IndexableMut for SmallVec<[T; N]>
Available on crate feature
smallvec only.