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.Source§impl<T, const N: usize> Indexable for SmallVec<[T; N]>
Available on crate feature smallvec
only.
impl<T, const N: usize> Indexable for SmallVec<[T; N]>
Available on crate feature
smallvec
only.