[][src]Struct nand2tetris_hdl_parser::Pin

pub struct Pin {
    pub name: String,
    pub start: u32,
    pub end: u32,
}

A type that represents a pin

pub struct Pin {
    pub name: String,
    pub start: u32,
    pub end: u32,
}

Fields

name: String

Holds the name of the pin

start: u32

Holds the start of the slice range

end: u32

Holds the end of the slice range

Trait Implementations

impl Clone for Pin[src]

impl Debug for Pin[src]

impl Eq for Pin[src]

impl Hash for Pin[src]

impl PartialEq<Pin> for Pin[src]

impl StructuralEq for Pin[src]

impl StructuralPartialEq for Pin[src]

Auto Trait Implementations

impl RefUnwindSafe for Pin

impl Send for Pin

impl Sync for Pin

impl Unpin for Pin

impl UnwindSafe for Pin

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.