pub trait PreferredContainer: ToOwned {
    type Container: BatchContainer + PushInto<Self::Owned>;
}
Expand description

A type with a preferred container.

Examples include types that implement Clone who prefer

Required Associated Types§

source

type Container: BatchContainer + PushInto<Self::Owned>

The preferred container for the type.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: Ord + Clone + 'static> PreferredContainer for [T]

Implementors§

source§

impl<T: Ord + Clone + 'static> PreferredContainer for T

§

type Container = Vec<T>