pub struct ConnectionSpec {
pub rule: ConnectivityRule,
pub weight: WeightDistribution,
pub delay: DelayDistribution,
pub synapse_model: SynapseModel,
pub allow_autapses: bool,
pub allow_multapses: bool,
}Expand description
Connection specification
Fields§
§rule: ConnectivityRule§weight: WeightDistribution§delay: DelayDistribution§synapse_model: SynapseModel§allow_autapses: bool§allow_multapses: boolTrait Implementations§
Source§impl Clone for ConnectionSpec
impl Clone for ConnectionSpec
Source§fn clone(&self) -> ConnectionSpec
fn clone(&self) -> ConnectionSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConnectionSpec
impl Debug for ConnectionSpec
Source§impl Default for ConnectionSpec
impl Default for ConnectionSpec
Source§impl<'de> Deserialize<'de> for ConnectionSpec
impl<'de> Deserialize<'de> for ConnectionSpec
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
Auto Trait Implementations§
impl Freeze for ConnectionSpec
impl RefUnwindSafe for ConnectionSpec
impl Send for ConnectionSpec
impl Sync for ConnectionSpec
impl Unpin for ConnectionSpec
impl UnwindSafe for ConnectionSpec
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