Trait compio_buf::IoIndexedBuf
source · pub trait IoIndexedBuf: IoVectoredBuf {
// Required method
fn buf_nth(&self, n: usize) -> Option<&dyn IoBuf>;
}
Expand description
A trait for vectored buffers that could be indexed.
Required Methods§
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl<T: IoBuf> IoIndexedBuf for &'static [T]
impl<T: IoBuf> IoIndexedBuf for &'static [T]
source§impl<T: IoBuf> IoIndexedBuf for &'static mut [T]
impl<T: IoBuf> IoIndexedBuf for &'static mut [T]
source§impl<T: IoBuf, const N: usize> IoIndexedBuf for ArrayVec<T, N>
Available on crate feature arrayvec
only.
impl<T: IoBuf, const N: usize> IoIndexedBuf for ArrayVec<T, N>
Available on crate feature
arrayvec
only.