pub trait PushIndexAs<T>: for<'a> Container<Ref<'a>: CopyAs<T>> + for<'a> Push<&'a T> { }
Expand description
A composite trait which captures the ability Push<&T>
and Index<Ref = T>
.
Implement CopyAs<T>
for the reference type, and Push<&'a T>
for the container.
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.