pub struct FunctionTableEntry<'a> {
    entry_index: usize,
    table: usize,
    regulators: &'a Vec<VariableId>,
}
Expand description

(experimental) Represents one “line” in a Boolean function table.

You can query the state of input variables on this line or make a new line with updated variable values.

Fields

entry_index: usizetable: usizeregulators: &'a Vec<VariableId>

Implementations

Obtain the value of the input variable. Panics if the variable is not an input of this function.

Obtain a table entry with the value of variable flipped.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.