pub trait HomogeneousNetwork: Network {
const NUM_NODE_INPUTS: usize;
// Required method
fn function(&self) -> Self::NodeFunction;
}Expand description
A logic network where all nodes implement the same boolean function.
Required Associated Constants§
Sourceconst NUM_NODE_INPUTS: usize
const NUM_NODE_INPUTS: usize
Number of inputs of a node.
Required Methods§
Sourcefn function(&self) -> Self::NodeFunction
fn function(&self) -> Self::NodeFunction
Get the logic function of a node.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.