pub struct TruthTableRow {
pub values: Vec<bool>,
pub result: bool,
}Expand description
Represents a single row in the truth table, containing variable values and the evaluated result.
Fields§
§values: Vec<bool>The specific boolean values for each variable in this row
result: boolThe evaluated boolean result of the expression for this row.
Trait Implementations§
Source§impl Debug for TruthTableRow
impl Debug for TruthTableRow
Source§impl Display for TruthTableRow
impl Display for TruthTableRow
Auto Trait Implementations§
impl Freeze for TruthTableRow
impl RefUnwindSafe for TruthTableRow
impl Send for TruthTableRow
impl Sync for TruthTableRow
impl Unpin for TruthTableRow
impl UnwindSafe for TruthTableRow
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more