[−][src]Trait agnes::cons::PushFront
Trait for adding a new element to the front of a heterogeneous list.
Associated Types
type Output
The resulting cons-list type after pushing the specified H
element to the front of the
existing list.
Required methods
fn push_front(self, head: H) -> Self::Output
Add an element to the front of this heterogeneous list.