Skip to main content

PushImpl

Trait PushImpl 

Source
pub trait PushImpl<Input, Item> {
    type Output;

    // Required method
    fn impl_push(input: Input, elem: Item) -> Self::Output;
}
Expand description

Implements vector appending.

Required Associated Types§

Required Methods§

Source

fn impl_push(input: Input, elem: Item) -> Self::Output

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T, S> PushImpl<Vect<T, S>, T> for ()
where S: Size, (): Push<Vect<T, S>>, PushOp<Vect<T, S>>: VectFactory<T>,

Source§

type Output = <() as Push<Vect<T, S>>>::Output

Source§

fn impl_push(input: Vect<T, S>, item: T) -> Self::Output

Implementors§