pub struct Node {
pub id: u16,
pub op: BoolOp,
pub left: Source,
pub right: Source,
}Expand description
A node in the boolean circuit.
Each node performs a binary boolean operation on two source operands. Nodes are stored in topological order, so evaluation can proceed sequentially without dependency resolution.
Fields§
§id: u16The unique identifier for this node.
op: BoolOpThe boolean operation this node performs.
left: SourceLeft operand source.
right: SourceRight operand source.
Implementations§
Trait Implementations§
impl Eq for Node
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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