Struct libreda_db::chip::CircuitInstanceRef[][src]

pub struct CircuitInstanceRef<'a> { /* fields omitted */ }
Expand description

A reference to a circuit instance.

This struct also keeps a reference to the parent netlist struct of the circuit.

Implementations

Get reference to the netlist struct where this instance lives in.

Get a reference to the parent of this instance.

Get a reference to the template of this instance.

Get a reference to the pin instance at position.

Iterate over each pin instance.

Iterate over all nets that are connected externally to this circuit instance. Nets may appear multiple times.

Methods from Deref<Target = CircuitInst>

Get the name of this instance.

Get ID of the pin instance at position.

Get the ID of the template circuit.

Get the ID of the parent circuit.

Get a reference to the vector containing the pin instance IDs.

Iterate over the IDs of the pin instances.

Get the transformation that represents the location and orientation of this instance.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.