[−][src]Struct virt_ic::chip::gates::GateAnd
A chip with 4 bundled "AND" gates
Diagram
---__---
A --|1 14|-- VCC
B --|2 13|-- E
A&B --|3 12|-- F
C --|4 11|-- E&F
D --|5 10|-- G
C&D --|6 9|-- H
GND --|7 8|-- G&H
--------Implementations
impl GateAnd[src]
pub const A: u8[src]
pub const B: u8[src]
pub const A_AND_B: u8[src]
pub const C: u8[src]
pub const D: u8[src]
pub const C_AND_D: u8[src]
pub const E: u8[src]
pub const F: u8[src]
pub const E_AND_F: u8[src]
pub const G: u8[src]
pub const H: u8[src]
pub const G_AND_H: u8[src]
pub const VCC: u8[src]
pub const GND: u8[src]
pub fn new() -> Self[src]
Trait Implementations
impl Chip for GateAnd[src]
fn get_pin_qty(&self) -> u8[src]
fn get_pin(&mut self, pin: u8) -> Result<Rc<RefCell<Pin>>, &str>[src]
fn run(&mut self, _: Duration)[src]
fn get_pin_state(&mut self, pin: u8) -> State[src]
fn set_pin_state(&mut self, pin: u8, state: &State)[src]
impl Debug for GateAnd[src]
impl Default for GateAnd[src]
Auto Trait Implementations
impl !RefUnwindSafe for GateAnd
impl !Send for GateAnd
impl !Sync for GateAnd
impl Unpin for GateAnd
impl !UnwindSafe for GateAnd
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,