Struct fann_sys::fann_connection
source · #[repr(C)]pub struct fann_connection {
pub from_neuron: c_uint,
pub to_neuron: c_uint,
pub weight: fann_type,
}
Expand description
Describes a connection between two neurons and its weight.
§See Also
fann_get_connection_array
, fann_set_weight_array
This structure appears in FANN >= 2.1.0.
Fields§
§from_neuron: c_uint
Unique number used to identify source neuron
to_neuron: c_uint
Unique number used to identify destination neuron
weight: fann_type
The numerical value of the weight
Trait Implementations§
source§impl Clone for fann_connection
impl Clone for fann_connection
source§fn clone(&self) -> fann_connection
fn clone(&self) -> fann_connection
Returns a copy 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 fann_connection
impl Debug for fann_connection
source§impl PartialEq for fann_connection
impl PartialEq for fann_connection
source§fn eq(&self, other: &fann_connection) -> bool
fn eq(&self, other: &fann_connection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for fann_connection
impl StructuralPartialEq for fann_connection
Auto Trait Implementations§
impl RefUnwindSafe for fann_connection
impl Send for fann_connection
impl Sync for fann_connection
impl Unpin for fann_connection
impl UnwindSafe for fann_connection
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