pub unsafe trait IoVectoredBufMut: IoVectoredBuf + SetBufInit {
    type IterMut<'a>: Iterator<Item = &'a mut Self::Item>;

    // Required method
    fn buf_iter_mut(&mut self) -> Self::IterMut<'_>;
}
Expand description

A trait for mutable vectored buffers.

Safety

See IoBufMut.

Required Associated Types§

source

type IterMut<'a>: Iterator<Item = &'a mut Self::Item>

The iterator type returned by IoVectoredBufMut::buf_iter_mut.

Required Methods§

source

fn buf_iter_mut(&mut self) -> Self::IterMut<'_>

A mutable iterator of the inner buffers.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: IoBufMut, A: Allocator + Unpin + 'static> IoVectoredBufMut for Vec<T, A>

§

type IterMut<'a> = IterMut<'a, <Vec<T, A> as IoVectoredBuf>::Item>

source§

fn buf_iter_mut(&mut self) -> Self::IterMut<'_>

source§

impl<T: IoBufMut, const N: usize> IoVectoredBufMut for [T; N]

§

type IterMut<'a> = IterMut<'a, <[T; N] as IoVectoredBuf>::Item>

source§

fn buf_iter_mut(&mut self) -> Self::IterMut<'_>

source§

impl<T: IoBufMut, const N: usize> IoVectoredBufMut for ArrayVec<T, N>

§

type IterMut<'a> = IterMut<'a, <ArrayVec<T, N> as IoVectoredBuf>::Item>

source§

fn buf_iter_mut(&mut self) -> Self::IterMut<'_>

Implementors§