pub trait ConsGetter<T, I> { fn get(&self) -> &T; fn get_mut(&mut self) -> &mut T; }
Trait for getting a Cons element by type.
Gets an element by type from cons.
Mutably gets an element by type from cons.