[][src]Struct spice21::proto::D1

pub struct D1 {
    pub name: String,
    pub model: DiodeModel,
    pub inst: DiodeInstParams,
    pub p: NodeRef,
    pub n: NodeRef,
}

Fields

name: Stringmodel: DiodeModelinst: DiodeInstParamsp: NodeRefn: NodeRef

Implementations

impl D1[src]

pub fn new<S: Into<String>>(name: S, p: NodeRef, n: NodeRef) -> Self[src]

Trait Implementations

impl From<D1> for CompParse[src]

Auto Trait Implementations

impl RefUnwindSafe for D1

impl Send for D1

impl Sync for D1

impl Unpin for D1

impl UnwindSafe for D1

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, 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.