pub struct MemoryNeuronDetail {
pub neuron_id: u32,
pub cortical_area_idx: u32,
pub pattern_hash: Option<u64>,
pub is_longterm_memory: bool,
pub is_active: bool,
pub lifespan_current: u32,
pub lifespan_initial: u32,
pub lifespan_growth_rate: f32,
pub creation_burst: u64,
pub last_activation_burst: u64,
pub activation_count: u32,
}Expand description
Snapshot of a single memory neuron for API / inspection (plasticity array only).
Fields§
§neuron_id: u32§cortical_area_idx: u32§pattern_hash: Option<u64>§is_longterm_memory: bool§is_active: bool§lifespan_current: u32§lifespan_initial: u32§lifespan_growth_rate: f32§creation_burst: u64§last_activation_burst: u64§activation_count: u32Trait Implementations§
Source§impl Clone for MemoryNeuronDetail
impl Clone for MemoryNeuronDetail
Source§fn clone(&self) -> MemoryNeuronDetail
fn clone(&self) -> MemoryNeuronDetail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MemoryNeuronDetail
impl Debug for MemoryNeuronDetail
Source§impl<'de> Deserialize<'de> for MemoryNeuronDetail
impl<'de> Deserialize<'de> for MemoryNeuronDetail
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
Source§impl PartialEq for MemoryNeuronDetail
impl PartialEq for MemoryNeuronDetail
Source§fn eq(&self, other: &MemoryNeuronDetail) -> bool
fn eq(&self, other: &MemoryNeuronDetail) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MemoryNeuronDetail
impl Serialize for MemoryNeuronDetail
impl StructuralPartialEq for MemoryNeuronDetail
Auto Trait Implementations§
impl Freeze for MemoryNeuronDetail
impl RefUnwindSafe for MemoryNeuronDetail
impl Send for MemoryNeuronDetail
impl Sync for MemoryNeuronDetail
impl Unpin for MemoryNeuronDetail
impl UnsafeUnpin for MemoryNeuronDetail
impl UnwindSafe for MemoryNeuronDetail
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more