StaticInputDegree

Trait StaticInputDegree 

Source
pub trait StaticInputDegree<const NUM_INPUTS: usize>: NetworkNode {
    // Required method
    fn to_array(&self) -> [Self::NodeId; NUM_INPUTS];
}
Expand description

A logic node with a number of inputs known at compile time.

Required Methods§

Source

fn to_array(&self) -> [Self::NodeId; NUM_INPUTS]

Get node inputs as an array.

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.

Implementors§