pub trait IndexedData: Copy {
    fn default() -> Self;
    fn index(&self) -> usize;
}
Expand description

A data to which an index is associated.

Required Methods

Creates a new default instance of Self.

Gets the index associated to self.

Implementations on Foreign Types

Implementors