use crate::{alloc::AllocRef, collections::TryReserveError}; pub trait CloneIn<A: AllocRef>: Sized { type Cloned; fn clone_in(&self, a: A) -> Self::Cloned; fn try_clone_in(&self, a: A) -> Result<Self::Cloned, TryReserveError>; }