pub fn push_front<A: Arena>(&mut self, element: T, arena: &'a A)
    where
        T: TrivialDrop,
    {
        *self = Cons(arena.alloc((element, *self)));
    }
/// Prepend the given element to the list in-place.
Prepend the given element to the list in-place.
Prepend the given element to the list in - place .
pub fn push_front<A: Arena>(&mut self, element: T, arena: &'a A)
    where
        T: TrivialDrop,
    {
        *self = Cons(arena.alloc((element, *self)));
    }
pub fn push_front < A : Arena > ( & mut self , element : T , arena : & ' a A ) where T : TrivialDrop , { * self = Cons ( arena . alloc ( ( element , * self ) ) ) ; }
Prepend the given element to the list in-place.
Prepend the given element to the list in - place .
&mut self
element
T
arena
&'a A
&mut self
element
T
arena
&'a A