Trait compio_buf::Indexable
source · pub trait Indexable {
type Output;
// Required method
fn index(&self, n: usize) -> Option<&Self::Output>;
}Expand description
A trait for vectored buffers that could be indexed.
Required Associated Types§
Required Methods§
Implementations on Foreign Types§
source§impl<T, const N: usize> Indexable for ArrayVec<T, N>
Available on crate feature arrayvec only.
impl<T, const N: usize> Indexable for ArrayVec<T, N>
Available on crate feature
arrayvec only.