logic_gate 0.4.0

Logic Gates
Documentation
1
2
3
4
5
6
7
8
9
use super::{And, Not, Signal};

pub struct Nand;

impl Nand {
    pub fn send_signal(a: &Signal, b: &Signal) -> Signal {
        Not::send_signal(&And::send_signal(a, b))
    }
}