[][src]Struct psyche::core::config::Config

#[repr(C)]
pub struct Config { pub propagation_speed: f64, pub neuron_impulse_decay: f64, pub default_action_potential: f64, pub action_potential_treshold: f64, pub receptors_excitation: f64, pub receptors_inhibition: f64, pub default_receptors: (f64, f64), pub new_connections_delay: f64, pub synapse_inactivity_time: f64, pub synapse_reconnection_range: Option<f64>, pub synapse_overdose_receptors: Option<f64>, pub synapse_reconnection_no_loop: bool, pub allow_sensors_both_way_connections: bool, pub allow_effectors_both_way_connections: bool, pub only_one_outgoing_neuron_connection: bool, pub only_one_incoming_neuron_connection: bool, pub do_not_kill_neurons: bool, pub reconnect_only_with_active_neurons: bool, }

Fields

propagation_speed: f64neuron_impulse_decay: f64default_action_potential: f64action_potential_treshold: f64receptors_excitation: f64receptors_inhibition: f64default_receptors: (f64, f64)new_connections_delay: f64synapse_inactivity_time: f64synapse_reconnection_range: Option<f64>synapse_overdose_receptors: Option<f64>synapse_reconnection_no_loop: boolallow_sensors_both_way_connections: boolallow_effectors_both_way_connections: boolonly_one_outgoing_neuron_connection: boolonly_one_incoming_neuron_connection: booldo_not_kill_neurons: boolreconnect_only_with_active_neurons: bool

Methods

impl Config[src]

pub fn merge(&self, other: &Config) -> Config[src]

Trait Implementations

impl Clone for Config[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Serialize for Config[src]

impl Default for Config[src]

impl PartialEq<Config> for Config[src]

impl<'de> Deserialize<'de> for Config[src]

impl Debug for Config[src]

Auto Trait Implementations

impl Send for Config

impl Sync for Config

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]