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.
pub trait Indexable {
type Output;
// Required method
fn index(&self, n: usize) -> Option<&Self::Output>;
}
A trait for vectored buffers that could be indexed.