pub trait IndexAs<T> {
// Required method
fn index_as(&self, index: usize) -> T;
// Provided method
fn last(&self) -> Option<T>
where Self: Len { ... }
}
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.