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

fn from_nettype_enum(nt_enum: fann_nettype_enum) -> NetType

Create a NetType from a fann_sys::fann_nettype_enum.

Trait Implementations

Derived Implementations

impl PartialEq for NetType

fn eq(&self, __arg_0: &NetType) -> bool

fn ne(&self, __arg_0: &NetType) -> bool

impl Eq for NetType

impl Debug for NetType

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for NetType

fn clone(&self) -> NetType

fn clone_from(&mut self, source: &Self)

impl Copy for NetType