[][src]Trait radiate::models::neat::layers::layer::LayerClone

pub trait LayerClone {
    fn clone_box(&self) -> Box<dyn Layer>;
}

Turns out cloning a Box is harder than it seems. This isn't meant to be implemented outside of this file and is only used to clone the trait object

Required methods

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

Loading content...

Implementors

impl<L> LayerClone for L where
    L: 'static + Layer + Clone
[src]

Implement LayerClone for any type that implements Layer and is also Clone

Loading content...