Enum fann::NetType [−][src]
pub enum NetType { Layer, Shortcut, }
Network types
Variants
Layer
Each layer of neurons only has connections to the next layer.
Shortcut
Each layer has connections to all following layers.
Methods
impl NetType
[src]
impl NetType
pub fn from_nettype_enum(nt_enum: fann_nettype_enum) -> NetType
[src]
pub fn from_nettype_enum(nt_enum: fann_nettype_enum) -> NetType
Create a NetType
from a fann_sys::fann_nettype_enum
.
Trait Implementations
impl Copy for NetType
[src]
impl Copy for NetType
impl Clone for NetType
[src]
impl Clone for NetType
fn clone(&self) -> NetType
[src]
fn clone(&self) -> NetType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for NetType
[src]
impl Debug for NetType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for NetType
[src]
impl Eq for NetType
impl PartialEq for NetType
[src]
impl PartialEq for NetType