pub trait ShapeClone {
    // Required method
    fn clone_box(&self) -> Box<dyn GridShape>;
}

Required Methods§

source

fn clone_box(&self) -> Box<dyn GridShape>

Implementors§

source§

impl<T> ShapeClone for T
where T: 'static + GridShape + Clone,