pub trait PreferredContainer: ToOwned {
type Container: BatchContainer<PushItem = Self::Owned>;
}Expand description
A type with a preferred container.
Examples include types that implement Clone who prefer
Required Associated Types§
Sourcetype Container: BatchContainer<PushItem = Self::Owned>
type Container: BatchContainer<PushItem = Self::Owned>
The preferred container for the type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".