pub trait CloneWithAlloc<Alloc: Allocator<u16> + Allocator<u32>> {
// Required method
fn clone_with_alloc(&self, m: &mut Alloc) -> Self;
}
Required Methods§
fn clone_with_alloc(&self, m: &mut Alloc) -> Self
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.