pub trait AdapterClone<'a, S, A> {
    // Required method
    fn box_clone(&self) -> Box<dyn Adapter<'a, S, A> + 'a>;
}
Expand description

Helper trait to enforce Clone on Adapter implementors.

Required Methods§

source

fn box_clone(&self) -> Box<dyn Adapter<'a, S, A> + 'a>

Implementors§

source§

impl<'a, S, A, T> AdapterClone<'a, S, A> for Twhere T: Adapter<'a, S, A> + Clone + 'a,