pub struct CellInstRef<'a, H: HierarchyBase + ?Sized> {
    pub(super) base: &'a H,
    pub(super) id: H::CellInstId,
}
Expand description

Default implementation for CellInstRef. This is just a wrapper around a netlist and a cell ID.

Fields

base: &'a H

Reference to the parent netlist.

id: H::CellInstId

ID of the corresponding cell instance.

Implementations

Access the base structure.

Get the ID of this cell instance.

Get the name of the cell instance.

Get a qualified name for this instance.

Get the parent cell of this instance.

Get the template cell of this instance.

Get the ID of the parent cell of this instance.

Get the ID of the template cell of this instance.

Get the geometric transform that describes the location of a cell instance relative to its parent.

Iterate over the IDs of all pins of this cell.

Iterate over all pins of this cell.

Iterate over all nets are connected to this instance. A net might appear more than once.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.