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§
Sourcetype Container: BatchContainer + PushInto<Self::Owned>
type Container: BatchContainer + PushInto<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", so this trait is not object safe.