[][src]Struct nand2tetris_hdl_parser::Chip

pub struct Chip {
    pub name: String,
    pub inputs: Vec<Pin>,
    pub outputs: Vec<Pin>,
    pub parts: Vec<Part>,
}

A type that represents a chip

use nand2tetris_hdl_parser::{Part, Pin};
pub struct Chip {
    pub name: String,
    pub inputs: Vec<Pin>,
    pub outputs: Vec<Pin>,
    pub parts: Vec<Part>,
}

Fields

name: String

Holds the name of the chip

inputs: Vec<Pin>

Holds a list of input pins

outputs: Vec<Pin>

Holds a list of output pins

parts: Vec<Part>

Holds a list of parts

Trait Implementations

impl Clone for Chip[src]

impl Debug for Chip[src]

impl Eq for Chip[src]

impl Hash for Chip[src]

impl PartialEq<Chip> for Chip[src]

impl StructuralEq for Chip[src]

impl StructuralPartialEq for Chip[src]

Auto Trait Implementations

impl RefUnwindSafe for Chip

impl Send for Chip

impl Sync for Chip

impl Unpin for Chip

impl UnwindSafe for Chip

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.