logic_gate 0.4.0

Logic Gates
Documentation
1
2
3
4
5
6
7
8
use super::{Nand, Signal};
pub struct Or;

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