pub trait Ranked: Sized {
type Item: 'static;
// Required methods
fn region(&self) -> &Region;
fn get(&self, rank: usize) -> Option<&Self::Item>;
}Expand description
Ranked is a helper trait to implement View on a ranked collection
of items.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".