pub struct SynapseBuilder { /* private fields */ }Expand description
Builder for creating custom synapses.
Implementations§
Source§impl SynapseBuilder
impl SynapseBuilder
Sourcepub fn new(synapse_type: SynapseType) -> Self
pub fn new(synapse_type: SynapseType) -> Self
Create a new synapse builder.
Sourcepub fn max_weight(self, w_max: f64) -> Self
pub fn max_weight(self, w_max: f64) -> Self
Set maximum weight.
Sourcepub fn vesicle_pool(self, pool: VesiclePool) -> Self
pub fn vesicle_pool(self, pool: VesiclePool) -> Self
Set vesicle pool dynamics.
Sourcepub fn neurotransmitter(self, nt: Neurotransmitter) -> Self
pub fn neurotransmitter(self, nt: Neurotransmitter) -> Self
Set neurotransmitter.
Auto Trait Implementations§
impl Freeze for SynapseBuilder
impl RefUnwindSafe for SynapseBuilder
impl Send for SynapseBuilder
impl Sync for SynapseBuilder
impl Unpin for SynapseBuilder
impl UnwindSafe for SynapseBuilder
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