pub trait AppendFront<T>: Sized {
// Required method
fn append_front(&mut self, _: T) -> &mut Self;
}
Expand description
appends to front of the list meaning: list.insert(o, item)
Required Methods§
Sourcefn append_front(&mut self, _: T) -> &mut Self
fn append_front(&mut self, _: T) -> &mut Self
performs the append front
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.