Struct libreda_db::chip::CircuitRef[][src]

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

A ‘fat’ reference to a circuit.

Implementations

Iterate over all cell instances in this circuit.

Find a child cell instance by its name. Returns None if no such instance exists.

Iterate over the references to all cells that are dependencies of this cell.

Iterate over the references to all cells that are dependent on this cell.

Iterate over the IDs of the external circuit pins.

Iterate over each pin of this circuit.

Get a reference to the pin at position.

Get a reference to the netlist where this circuit lives.

Iterate over all nets defined in this circuit.

Methods from Deref<Target = Circuit>

Get the ID of this circuit.

Get the name of this circuit.

Find a child instance in this circuit by its name.

Iterate over the IDs of the child instances.

Iterate over the IDs of each dependency of this circuit. A dependency is a circuit that is instantiated in self.

Iterate over the IDs of cell that depends on this circuit.

Iterate over the IDs of all cells that hold instances of this circuit.

Iterate over the IDs of all instances of this circuit.

Iterate over the IDs of the external circuit pins.

Return the number of pins of this circuit.

Get the ID of the pin at position.

Iterate over the IDs of all nets that are defined in this circuit.

Get the shape container of this layer. Returns None if the shapes object does not exist for this layer.

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

All functions of Cell are made available also for CellRef by implementation of the Deref trait.

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.