#[repr(C)]pub struct Config {
pub propagation_speed: Scalar,
pub neuron_potential_decay: Scalar,
pub action_potential_treshold: Scalar,
pub receptors_excitation: Scalar,
pub receptors_inhibition: Scalar,
pub default_receptors: Range<Scalar>,
pub synapse_inactivity_time: Scalar,
pub synapse_reconnection_range: Option<Scalar>,
pub synapse_overdose_receptors: Option<Scalar>,
pub synapse_propagation_decay: Scalar,
pub synapse_new_connection_receptors: Option<Scalar>,
}
Fields§
§propagation_speed: Scalar
§neuron_potential_decay: Scalar
§action_potential_treshold: Scalar
§receptors_excitation: Scalar
§receptors_inhibition: Scalar
§default_receptors: Range<Scalar>
§synapse_inactivity_time: Scalar
§synapse_reconnection_range: Option<Scalar>
§synapse_overdose_receptors: Option<Scalar>
§synapse_propagation_decay: Scalar
§synapse_new_connection_receptors: Option<Scalar>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more