pub struct Pathway {
pub name: String,
pub use_count: u64,
pub strength: f64,
pub last_used: u64,
pub decay_rate: f64,
pub growth_rate: f64,
pub category: String,
}Expand description
A single DNA pathway — grows with use, decays with disuse.
Fields§
§name: String§use_count: u64§strength: f64§last_used: u64§decay_rate: f64§growth_rate: f64§category: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pathway
impl<'de> Deserialize<'de> for Pathway
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 Pathway
Auto Trait Implementations§
impl Freeze for Pathway
impl RefUnwindSafe for Pathway
impl Send for Pathway
impl Sync for Pathway
impl Unpin for Pathway
impl UnsafeUnpin for Pathway
impl UnwindSafe for Pathway
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