Trait push_trait::PushRefFront
[−]
[src]
pub trait PushRefFront<T: ?Sized>: PushRef<T> { fn push_ref_front(&mut self, val: &T) -> Option<Self::PushedOut>; }
Alternative to PushFront<&T>
.
Required Methods
fn push_ref_front(&mut self, val: &T) -> Option<Self::PushedOut>
Adds the value to the front of the collection.