13 lines
225 B
Rust
Raw Normal View History

2019-01-16 10:26:10 -08:00
mod boxed;
mod map;
mod slice;
pub use self::boxed::BoxedMap;
pub use self::map::{Iter, IterMut, Map};
pub use self::slice::SliceMap;
pub trait TypedIndex {
fn new(index: usize) -> Self;
fn index(&self) -> usize;
}