Skip to main content

unerase_neuron

Function unerase_neuron 

Source
pub fn unerase_neuron<T, C>(
    wrapper: &NeuronErasedWrapper<T, C>,
) -> Arc<dyn Neuron<T, C> + Send + Sync + 'static>
where T: Send + Sync + 'static, C: Codec<T> + CodecName + Send + Sync + 'static,
Expand description

Convenience function to convert a type-erased neuron wrapper back to a correctly typed neuron This function works directly with the concrete wrapper type