Trait timely_container::PushInto

source ·
pub trait PushInto<C> {
    // Required method
    fn push_into(self, target: &mut C);
}
Expand description

A type that can push itself into a container.

Required Methods§

source

fn push_into(self, target: &mut C)

Push self into the target container.

Implementations on Foreign Types§

source§

impl<'a, T: Clone> PushInto<Vec<T>> for &'a T

source§

fn push_into(self, target: &mut Vec<T>)

Implementors§

source§

impl<R: Region + Clone + 'static, T: CopyOnto<R>> PushInto<FlatStack<R>> for T

source§

impl<T> PushInto<Vec<T>> for T