pub struct GateVariable {
pub name: String,
pub power: u32,
pub alpha: RateFunction,
pub beta: RateFunction,
}Expand description
Gate variable (e.g., m, h, n in Hodgkin-Huxley)
Fields§
§name: StringVariable name
power: u32Power (exponent in gating)
alpha: RateFunctionAlpha rate function parameters
beta: RateFunctionBeta rate function parameters
Trait Implementations§
Source§impl Clone for GateVariable
impl Clone for GateVariable
Source§fn clone(&self) -> GateVariable
fn clone(&self) -> GateVariable
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 GateVariable
impl Debug for GateVariable
Source§impl<'de> Deserialize<'de> for GateVariable
impl<'de> Deserialize<'de> for GateVariable
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 GateVariable
impl RefUnwindSafe for GateVariable
impl Send for GateVariable
impl Sync for GateVariable
impl Unpin for GateVariable
impl UnwindSafe for GateVariable
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