pub trait Indexable {
type Item: IsNull;
// Required methods
fn get(&self, i: usize) -> Self::Item;
unsafe fn get_unchecked(&self, i: usize) -> Self::Item;
}
Required Associated Types§
Required Methods§
fn get(&self, i: usize) -> Self::Item
Sourceunsafe fn get_unchecked(&self, i: usize) -> Self::Item
unsafe fn get_unchecked(&self, i: usize) -> Self::Item
§Safety
Doesn’t do any bound checks.