Rust Wiki
Advertisement

AND Switch is a logic gate used for logic circuit. It takes two inputs ('Input A', 'Input B') and one output (called 'Power Out'). It consumes 1 rW.

Input A Input B Power Out
FALSE FALSE FALSE
TRUE FALSE FALSE
FALSE TRUE FALSE
TRUE TRUE TRUE
Table of truth
Advertisement