pub trait ConsAppend<T> {
type Output;
// Required method
fn append(self, t: T) -> Self::Output;
}
Expand description
Prepend a new type into a cons list
pub trait ConsAppend<T> {
type Output;
// Required method
fn append(self, t: T) -> Self::Output;
}
Prepend a new type into a cons list