NumInputs

Trait NumInputs 

Source
pub trait NumInputs {
    // Required method
    fn num_inputs(&self) -> usize;
}
Expand description

Define the number of function arguments.

Required Methods§

Source

fn num_inputs(&self) -> usize

Get the number of inputs of the boolean function.

Implementors§

Source§

impl NumInputs for SmallTruthTable

Source§

impl<'a, N: Network> NumInputs for RecursiveSim<'a, N>

Source§

impl<'a, T: NumInputs, TermId> NumInputs for OutputSelection<'a, T, TermId>

Source§

impl<F> NumInputs for F
where F: Fn(bool, bool) -> bool,

Source§

impl<F, const NUM_INPUTS: usize, const NUM_OUTPUTS: usize> NumInputs for NativeBooleanFunction<F, NUM_INPUTS, NUM_OUTPUTS>
where F: Fn([bool; NUM_INPUTS]) -> [bool; NUM_OUTPUTS],

Source§

impl<Node> NumInputs for LogicNetwork<Node>

Source§

impl<const N: usize> NumInputs for SmallStaticTruthTable<N>