pub struct AkidaNeuron {
pub v: i32,
pub threshold: i32,
pub modulation: f64,
pub rank: i32,
pub spiked: bool,
}Expand description
Akida — BrainChip event-domain rank-order neuron.
Fields§
§v: i32§threshold: i32§modulation: f64§rank: i32§spiked: boolImplementations§
Trait Implementations§
Source§impl Clone for AkidaNeuron
impl Clone for AkidaNeuron
Source§fn clone(&self) -> AkidaNeuron
fn clone(&self) -> AkidaNeuron
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 AkidaNeuron
impl Debug for AkidaNeuron
Auto Trait Implementations§
impl Freeze for AkidaNeuron
impl RefUnwindSafe for AkidaNeuron
impl Send for AkidaNeuron
impl Sync for AkidaNeuron
impl Unpin for AkidaNeuron
impl UnsafeUnpin for AkidaNeuron
impl UnwindSafe for AkidaNeuron
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,
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