NumOutputs

Trait NumOutputs 

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

Define the number of function outputs.

Required Methods§

Source

fn num_outputs(&self) -> usize

Get the number of outputs of the boolean function.

Implementors§

Source§

impl NumOutputs for SmallTruthTable

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<Node> NumOutputs for LogicNetwork<Node>

Source§

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