Struct libreda_db::netlist::hashmap_netlist::Circuit[][src]

pub struct Circuit {
    pub name: RcString,
    pub pins: Vec<PinId>,
    pub instances: HashSet<CircuitInstId>,
    pub references: HashSet<CircuitInstId>,
    pub parents: HashSet<CircuitId>,
    // some fields omitted
}

A circuit is defined by an interface (pins) and a content which consists of interconnected circuit instances.

Fields

name: RcString

Name of the circuit.

pins: Vec<PinId>

Pin definitions.

instances: HashSet<CircuitInstId>

Instances inside this circuit.

references: HashSet<CircuitInstId>

Circuit instances that reference to this circuit.

parents: HashSet<CircuitId>

All circuits that have instances of this circuit.

Trait Implementations

impl Clone for Circuit[src]

impl Debug for Circuit[src]

Auto Trait Implementations

impl !RefUnwindSafe for Circuit

impl !Send for Circuit

impl !Sync for Circuit

impl Unpin for Circuit

impl UnwindSafe for Circuit

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.