pub struct And { /* private fields */ }Expand description
The AND gate is built using a NOT and a NAND gate
| a | b | out |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for And
impl Send for And
impl Sync for And
impl Unpin for And
impl UnwindSafe for And
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more