pub struct Neuron {
pub bias: f64,
pub prev_delta: f64,
pub output: f64,
pub sum: f64,
pub connections: Vec<Connection>,
}
Fields§
§bias: f64
§prev_delta: f64
§output: f64
§sum: f64
§connections: Vec<Connection>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Neuron
impl RefUnwindSafe for Neuron
impl Send for Neuron
impl Sync for Neuron
impl Unpin for Neuron
impl UnwindSafe for Neuron
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