Trait PushInPlace

Source
pub trait PushInPlace<T> {
    // Required method
    fn push_in_place(self, value: T) -> Self;
}

Required Methods§

Source

fn push_in_place(self, value: T) -> Self

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.

Implementations on Foreign Types§

Source§

impl<T> PushInPlace<T> for Vec<T>

Source§

fn push_in_place(self, value: T) -> Self

Implementors§